InitViewModel

第0步:获取得到token 第一步:初始化AK KIMCore.instance().init(AK); 第二步:连接 KIMCore.instance().connectWithToken

Constructors

Link copied to clipboard
constructor(application: Application)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun active(code: String, appId: String, context: Context?)
Link copied to clipboard
fun connect(context: Context?)
Link copied to clipboard
fun connectError(reason: String, context: Context?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun init(token: String?, context: Context?)
Link copied to clipboard
fun initWithKimsid(kimsid: String?, context: Context?)
Link copied to clipboard
fun logout(callback: IResultCallback<Boolean>?)