TIMGetLoginStatus
Introduction
Get login status
If user is logged in or under logging, please don't call Login too frequently.
Parameter details
This API has no parameters
Returned template
number
data:number
Return value details
name | type | description |
---|---|---|
data | number | current login status, please refer to TIMLoginStatus |
Code example
import TimRender from "im_electron_sdk/dist/renderer";
const timRenderInstance = new TimRender();
let status = await timRenderInstance.TIMGetLoginStatus();