TIMGetServerTime

Introduction

Get server time (second)

Used for deceding timeout under signaling offline pushing

Parameter details

This API has no parameters

Returned template

number

data:number

Return value details

name type description
data number Server time

Code example

import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();

let time = await timRenderInstance.TIMGetServerTime();

results matching ""

    No results matching ""