Skip to content

chatroom_def.chatroom_def.ChatRoomAnoymityEnterInfo

Zvicii edited this page Jul 8, 2022 · 4 revisions

Interface: ChatRoomAnoymityEnterInfo

chatroom_def/chatroom_def.ChatRoomAnoymityEnterInfo

Table of contents

Properties

Properties

address_

address_: string[]

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

Defined in

ts/chatroom_def/chatroom_def.ts:147


app_data_file_

app_data_file_: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:149


sdk_log_level_

sdk_log_level_: number

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

Defined in

ts/chatroom_def/chatroom_def.ts:151


app_key_

app_key_: string

应用appkey,匿名登录时必填

Defined in

ts/chatroom_def/chatroom_def.ts:153


random_id_

random_id_: boolean

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

Defined in

ts/chatroom_def/chatroom_def.ts:155


accid_

accid_: string

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

Defined in

ts/chatroom_def/chatroom_def.ts:157


token_

token_: string

登录聊天室的密码

Defined in

ts/chatroom_def/chatroom_def.ts:159

Clone this wiki locally