IMKitClient class
Constructors
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Properties
- enableAi ↔ bool
- 
  AI 数字人开关
  getter/setter pair
- 
  enableAIStream
  → Future<bool> 
- 
  是否打开AI流式
  no setter
- enableAit ↔ bool
- 
  是否开启Ait功能
  getter/setter pair
- 
  enableCloudConversation
  → Future<bool> 
- 
  
  no setter
- enablePin ↔ bool
- 
  是否开启Pin功能
  getter/setter pair
- enableRichTextMessage ↔ bool
- 
  换行消息开关
  getter/setter pair
- 
  supportedLocales
  → List<Locale> 
- 
  
  no setter
Static Methods
- 
  account() → String? 
- 
  getUserInfo() → NIMUserInfo? 
- 
  init(String appKey, [NIMSDKOptions? options]) → Future< bool> 
- 
  isEnableAiStream() → bool? 
- 同步返回的是否支持AI流式输出
- 
  isEnableCloudConversation() → bool? 
- 同步返回的会话是否开启云端会话
- 
  loginIM(String accountId, String token, {NIMLoginOption? option}) → Future< bool> 
- 登录IM
- 
  loginIMWithResult(String accountId, String token, {NIMLoginOption? option}) → Future< NIMResult< void> >
- 登录IM,并返回登录结果,包含错误码
- 
  logoutIM() → Future< bool> 
- 
  setEnableAIStream(bool enable) → void 
- 设置是否打开AI 流式输出 在本身没有UI开关的情况下,可以在初始化前调用此方法设置
- 
  setEnableCloudConversation(bool enable) → void 
- 设置是否打开云端会话 在本身没有UI开关的情况下,可以在初始化前调用此方法设置