getSDKInstance
Introduction
Get the instance of the non-UI SDK, using the API from it, see the documentation about the SDK.
Parameter details
This API has no parameters
Returned template
V2TIMManager
Return value details
name | type | description |
---|---|---|
V2TIMManager | V2TiMManager | The instance of the non-UI SDK. |
Code example
final V2TIMManager _sdkInstance = TIMUIKitCore.getSDKInstance();
print(_sdkInstance.getLoginUser());