Skip to content

chatroom_def.chatroom_def.ChatRoomAnoymityEnterInfo

Zvicii edited this page Oct 24, 2022 · 4 revisions

Interface: ChatRoomAnoymityEnterInfo

chatroom_def/chatroom_def.ChatRoomAnoymityEnterInfo

Table of contents

Properties

Properties

address_

Optional address_: string[]

聊天室地址,地址通过应用服务器接口获取

Defined in

ts/chatroom_def/chatroom_def.ts:149


app_data_file_

Optional app_data_file_: string

应用数据目录,匿名登录时必填,使用默认路径时只需传入单个目录名(不以反斜杠结尾),使用自定义路径时需传入完整路径(以反斜杠结尾,并确保有正确的读写权限!)

Defined in

ts/chatroom_def/chatroom_def.ts:151


sdk_log_level_

Optional sdk_log_level_: number

匿名登录时选填,定义见NIMSDKLogLevel(选填,SDK默认的内置级别为kNIMSDKLogLevelPro)

Defined in

ts/chatroom_def/chatroom_def.ts:153


app_key_

Optional app_key_: string

应用appkey,匿名登录时必填

Defined in

ts/chatroom_def/chatroom_def.ts:155


random_id_

Optional random_id_: boolean

是否开启随机ID模式,默认为关闭(false),建议默认值

Defined in

ts/chatroom_def/chatroom_def.ts:157


accid_

Optional accid_: string

使用自定义用户 ID,一旦指定,SDK 不会自动生成随机 ID,random 参数将无效

Defined in

ts/chatroom_def/chatroom_def.ts:159


token_

Optional token_: string

登录聊天室的密码

Defined in

ts/chatroom_def/chatroom_def.ts:161

Clone this wiki locally