getInstance

Introduction

Get the main entry class of TUIKit, provides the basic functions, includes, init, login, etc.

Parameter details

This API has no parameters

Returned template

CoreServicesImpl

Return value details

name type description
CoreServicesImpl CoreServicesImpl The main entry class of TUIKit, provides the basic functions, includes, init, login, etc.

Code example

    final CoreServicesImpl _coreInstance = TIMUIKitCore.getInstance();
    _coreInstance.init(
        sdkAppID: 0, 
        loglevel: LogLevelEnum.V2TIM_LOG_DEBUG,
        listener: V2TimSDKListener(),
        language: LanguageEnum.zhHans);

results matching ""

    No results matching ""