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