Hierarchy

  • NIM

Constructors

  • Parameters

    • Optional _options: NIMInitializeOptions
    • Optional _otherOptions: NIMOtherOptions

    Returns NIM

Properties

DataStructureConverter: DataStructureConverter
V2NIMAIService: V2NIMAIService
V2NIMClientAntispamUtil: V2NIMClientAntispamUtil
V2NIMConversationGroupService: V2NIMConversationGroupService
V2NIMConversationIdUtil: V2NIMConversationIdUtil

---------- 辅助工具类 -----------

V2NIMConversationService: V2NIMConversationService
V2NIMFriendService: V2NIMFriendService
V2NIMLocalConversationService: V2NIMLocalConversationService
V2NIMLoginService: V2NIMLoginService

---------- 模块服务 -----------

V2NIMMessageAttachmentCreator: V2NIMMessageAttachmentCreator
V2NIMMessageConverter: V2NIMMessageConverter
V2NIMMessageCreator: V2NIMMessageCreator
V2NIMMessageService: V2NIMMessageService
V2NIMNotificationService: V2NIMNotificationService

通知类

V2NIMPassthroughService: V2NIMPassthroughService
V2NIMSettingService: V2NIMSettingService
V2NIMSignallingService: V2NIMSignallingService
V2NIMStorageService: V2NIMStorageService
V2NIMSubscriptionService: V2NIMSubscriptionService
V2NIMTeamService: V2NIMTeamService
V2NIMUserService: V2NIMUserService
YSFService: YSFService
account: string

Deprecated

@Multi_Lang_Tag

Locale

cn 账号

Locale

Locale

en Account

Locale

cloudSession: CloudSessionServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMConversationService

cloudStorage: CloudStorageServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMStorageService

event: EventServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMSubscriptionService

friend: FriendServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMFriendService

msg: MsgServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMMessageService

msgExtend: MsgExtendServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMMessageService

msgLog: MsgLogServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMMessageService

offlinePush: OfflinePushServiceInterface
options: NIMInitializeOptions

@Multi_Lang_Tag

Locale

cn 连接参数

Locale

Locale

en Parameters of connections

Locale

passThrough: PassThroughServiceInterface

Deprecated

plugin: PluginServiceInterface
session: SessionServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMConversationService

signaling: SignalingServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMSignallingService

status: NIMEInstanceStatus

Deprecated

@Multi_Lang_Tag

Locale

cn 实例的状态

Locale

Locale

en The status of an instance

Locale

superTeam: SuperTeamServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMTeamService

systemMessage: SystemMessageServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMNotificationService

team: TeamServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMTeamService

user: UserServiceInterface

Deprecated

v1 模块即将废弃, 请使用 v2 模块 V2NIMUserService

sdkVersion: number

SDK 版本号-数字格式

sdkVersionFormat: string

SDK 版本号-字符串格式

Methods

  • @Multi_Lang_Tag

    Parameters

    • Optional _options: NIMInitializeOptions
    • Optional _otherOptions: NIMOtherOptions

    Returns NIM

    Locale

    cn 单例模式获取实例

    Locale

    Locale

    en Get a singleton instance

    Locale

  • @Multi_Lang_Tag

    Parameters

    • _serviceClass: any

      模块类

    • _serviceName: NIMServiceName

      标识的模块名

    Returns void

    Locale

    cn 注册模块. 使用 dist/esm 产物时的 NIM 类专用

    Locale

    Locale

    en Register a module in ESM for NIM class

    Locale

Generated using TypeDoc