Created by huangjun on 2015/12/28.
更多...
Created by huangjun on 2015/12/28.
在文件 EnterChatRoomData.java 第 11 行定义.
◆ EnterChatRoomData()
com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.EnterChatRoomData |
( |
String |
roomId | ) |
|
◆ getAccount()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getAccount |
( |
| ) |
|
◆ getAntiSpamConfig()
AntiSpamConfig com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getAntiSpamConfig |
( |
| ) |
|
◆ getAppKey()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getAppKey |
( |
| ) |
|
◆ getAvatar()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getAvatar |
( |
| ) |
|
◆ getChatRoomAuthProvider()
ChatRoomAuthProvider com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getChatRoomAuthProvider |
( |
| ) |
|
◆ getChatRoomSpatialLocation()
◆ getExtension()
Map<String, Object> com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getExtension |
( |
| ) |
|
◆ getIndependentModeCallback()
◆ getLoginAuthType()
Integer com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getLoginAuthType |
( |
| ) |
|
◆ getLoginExt()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getLoginExt |
( |
| ) |
|
◆ getNick()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getNick |
( |
| ) |
|
◆ getNotifyExtension()
Map<String, Object> com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getNotifyExtension |
( |
| ) |
|
◆ getNotifyTargetTags()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getNotifyTargetTags |
( |
| ) |
|
◆ getRoomId()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getRoomId |
( |
| ) |
|
◆ getTags()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getTags |
( |
| ) |
|
◆ getToken()
String com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.getToken |
( |
| ) |
|
◆ isAnonymousMode()
boolean com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.isAnonymousMode |
( |
| ) |
|
◆ isIndependentMode()
boolean com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.isIndependentMode |
( |
| ) |
|
◆ isValid()
boolean com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.isValid |
( |
| ) |
|
◆ setAntiSpamConfig()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setAntiSpamConfig |
( |
AntiSpamConfig |
antiSpamConfig | ) |
|
◆ setAppKey()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setAppKey |
( |
String |
appKey | ) |
|
◆ setAvatar()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setAvatar |
( |
String |
avatar | ) |
|
◆ setChatRoomAuthProvider()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setChatRoomAuthProvider |
( |
ChatRoomAuthProvider |
chatRoomAuthProvider | ) |
|
◆ setChatRoomSpatialLocation()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setChatRoomSpatialLocation |
( |
ChatRoomSpatialLocation |
chatRoomSpatialLocation | ) |
|
◆ setExtension()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setExtension |
( |
Map< String, Object > |
extension | ) |
|
◆ setIndependentMode() [1/2]
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setIndependentMode |
( |
ChatRoomIndependentCallback |
cb, |
|
|
String |
account, |
|
|
String |
token |
|
) |
| |
设置聊天室独立模式
- 参数
-
cb | 如果是独立模式,必须提供回调函数,用于SDK向APP获取聊天室地址信息的数据。 |
account | 独立登录的账号,可以不填。不填即为匿名登录 |
token | 独立登录的密码。 |
在文件 EnterChatRoomData.java 第 307 行定义.
◆ setIndependentMode() [2/2]
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setIndependentMode |
( |
ChatRoomIndependentCallback |
cb, |
|
|
String |
account, |
|
|
String |
token, |
|
|
boolean |
isAnonymousMode |
|
) |
| |
设置聊天室独立模式
- 参数
-
cb | 如果是独立模式,必须提供回调函数,用于SDK向APP获取聊天室地址信息的数据。 |
account | 独立登录的账号, |
token | 独立登录的密码。 |
isAnonymousMode | 是否匿名模式,如果为false,account参数不可为空 |
在文件 EnterChatRoomData.java 第 323 行定义.
◆ setLoginAuthType()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setLoginAuthType |
( |
Integer |
loginAuthType | ) |
|
◆ setLoginExt()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setLoginExt |
( |
String |
loginExt | ) |
|
◆ setNick()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setNick |
( |
String |
nick | ) |
|
◆ setNotifyExtension()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setNotifyExtension |
( |
Map< String, Object > |
notifyExtension | ) |
|
◆ setNotifyTargetTags()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setNotifyTargetTags |
( |
String |
notifyTargetTags | ) |
|
◆ setRoomId()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setRoomId |
( |
String |
roomId | ) |
|
◆ setTags()
void com.netease.nimlib.sdk.chatroom.model.EnterChatRoomData.setTags |
( |
String |
tags | ) |
|
该类的文档由以下文件生成: