jancd/qiniu-developer_ShareGPT huggingface dataset:
human: 如何处理七牛云的即时通讯QNIMMessageSetting推送设置

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Class
List 类列表](https://developer.qiniu.com/IM/api/8190/class-list) >
QNIMMessageSetting推送设置

#  QNIMMessageSetting推送设置

最近更新时间: 2021-07-16 09:26:12

# QNIMMessageSetting Class Reference

Inherits from | NSObject  
---|---  
Declared in | QNIMMessageSetting.h  
  
### ` mPushEnabled`

推送开关

`@property (nonatomic, assign, readonly) BOOL mPushEnabled`

#### Discussion

推送开关

#### Declared In

`QNIMMessageSetting.h`

### ` mPushDetail`

推送详情

`@property (nonatomic, assign, readonly) BOOL mPushDetail`

#### Discussion

推送详情

#### Declared In

`QNIMMessageSetting.h`

### ` pushNickname`

对方收到推送消息时显示的名称

`@property (nonatomic, copy) NSString *pushNickname`

#### Discussion

对方收到推送消息时显示的名称

#### Declared In

`QNIMMessageSetting.h`

### ` mNotificationSound`

推送声音

`@property (nonatomic, assign, readonly) BOOL mNotificationSound`

#### Discussion

推送声音

#### Declared In

`QNIMMessageSetting.h`

### ` mNotificationVibrate`

推送通知震动

`@property (nonatomic, assign, readonly) BOOL mNotificationVibrate`

#### Discussion

推送通知震动

#### Declared In

`QNIMMessageSetting.h`

### ` mAutoDownloadAttachment`

自动下载附件

`@property (nonatomic, assign, readonly) BOOL mAutoDownloadAttachment`

#### Discussion

自动下载附件

#### Declared In

`QNIMMessageSetting.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMDevice设备

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Class
List 类列表](https://developer.qiniu.com/IM/api/8190/class-list) > QNIMDevice设备

#  QNIMDevice设备

最近更新时间: 2021-07-16 09:26:18

# QNIMDevice Class Reference

Inherits from | NSObject  
---|---  
Declared in | QNIMDevice.h  
  
### ` deviceSN`

设备序列号

`@property (nonatomic, assign, readonly) int deviceSN`

#### Discussion

设备序列号

#### Declared In

`QNIMDevice.h`

### ` userId`

用户id

`@property (nonatomic, assign, readonly) long long userId`

#### Discussion

用户id

#### Declared In

`QNIMDevice.h`

### ` platform`

平台

`@property (nonatomic, assign, readonly) int platform`

#### Discussion

平台

#### Declared In

`QNIMDevice.h`

### ` userAgent`

UA

`@property (nonatomic, copy) NSString *userAgent`

#### Discussion

UA

#### Declared In

`QNIMDevice.h`

### ` isCurrentDevice`

是否是当前设备

`@property (nonatomic, assign, readonly) BOOL isCurrentDevice`

#### Discussion

是否是当前设备

#### Declared In

`QNIMDevice.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMCreatGroupOption群设置

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Class
List 类列表](https://developer.qiniu.com/IM/api/8190/class-list) >
QNIMCreatGroupOption群设置

#  QNIMCreatGroupOption群设置

最近更新时间: 2021-07-16 09:26:35

# QNIMCreatGroupOption Class Reference

Inherits from | NSObject  
---|---  
Declared in | QNIMCreatGroupOption.h  
  
### ` name`

群名称

`@property (nonatomic, copy) NSString *name`

#### Discussion

群名称

#### Declared In

`QNIMCreatGroupOption.h`

### ` groupDescription`

群描述

`@property (nonatomic, copy) NSString *groupDescription`

#### Discussion

群描述

#### Declared In

`QNIMCreatGroupOption.h`

### ` isChatroom`

是否聊天室

`@property (nonatomic, assign) BOOL isChatroom`

#### Discussion

是否聊天室

#### Declared In

`QNIMCreatGroupOption.h`

### ` message`

建群时成员收到的邀请信息

`@property (nonatomic, copy) NSString *message`

#### Discussion

建群时成员收到的邀请信息

#### Declared In

`QNIMCreatGroupOption.h`

### ` avatarPath`

群头像本地路径

`@property (nonatomic, copy) NSString *avatarPath`

#### Discussion

群头像本地路径

#### Declared In

`QNIMCreatGroupOption.h`

### ` announcement`

群公告

`@property (nonatomic, copy) NSString *announcement`

#### Discussion

群公告

#### Declared In

`QNIMCreatGroupOption.h`

### ` members`

建群时添加的成员

`@property (nonatomic, strong) NSArray *members`

#### Discussion

建群时添加的成员

#### Declared In

`QNIMCreatGroupOption.h`

### ` extion`

群扩展信息

`@property (nonatomic, copy) NSString *extion`

#### Discussion

群扩展信息

#### Declared In

`QNIMCreatGroupOption.h`

### `- initWithGroupName:groupDescription:isPublic:`

创建群实体

`- (instancetype)initWithGroupName:(NSString *) _name_
groupDescription:(NSString *) _groupDescription_ isPublic:(BOOL) _isPublic_`

#### Parameters

name | 必填  
---|---  
groupDescription | 非必填  
  
#### Return Value

QNIMCreatGroupOption

#### Discussion

创建群实体

#### Declared In

`QNIMCreatGroupOption.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMMessagePushSetting消息推送

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Class
List 类列表](https://developer.qiniu.com/IM/api/8190/class-list) >
QNIMMessagePushSetting消息推送

#  QNIMMessagePushSetting消息推送

最近更新时间: 2021-07-16 09:26:40

# QNIMMessagePushSetting Class Reference

Inherits from | NSObject  
---|---  
Declared in | QNIMMessagePushSetting.h  
  
### ` pushEnabled`

推送设定

`@property (nonatomic, assign) BOOL pushEnabled`

#### Discussion

推送设定

#### Declared In

`QNIMMessagePushSetting.h`

### ` silenceStartTime`

当APP未打开时是否允许推送

`@property (nonatomic, assign) NSInteger silenceStartTime`

#### Discussion

当APP未打开时是否允许推送

#### Declared In

`QNIMMessagePushSetting.h`

### ` silenceEndTime`

推送静默结束时间

`@property (nonatomic, assign) NSInteger silenceEndTime`

#### Discussion

推送静默结束时间

#### Declared In

`QNIMMessagePushSetting.h`

### ` pushStartTime`

允许推送起始时间

`@property (nonatomic, assign) NSInteger pushStartTime`

#### Discussion

允许推送起始时间

#### Declared In

`QNIMMessagePushSetting.h`

### ` mPushEndTime`

允许推送结束时间

`@property (nonatomic, assign) NSInteger mPushEndTime`

#### Discussion

允许推送结束时间

#### Declared In

`QNIMMessagePushSetting.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMUserProfile用户

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Class
List 类列表](https://developer.qiniu.com/IM/api/8190/class-list) >
QNIMUserProfile用户

#  QNIMUserProfile用户

最近更新时间: 2021-07-16 09:26:47

# QNIMUserProfile Class Reference

Inherits from | NSObject  
---|---  
Declared in | QNIMUserProfile.h  
  
### ` userId`

用户id

`@property (nonatomic, assign) long long userId`

#### Discussion

用户id

#### Declared In

`QNIMUserProfile.h`

### ` userCategory`

用户级别

`@property (nonatomic, assign) QNIMUserCategory userCategory`

#### Discussion

用户级别

#### Declared In

`QNIMUserProfile.h`

### ` userName`

用户名

`@property (nonatomic, copy) NSString *userName`

#### Discussion

用户名

#### Declared In

`QNIMUserProfile.h`

### ` nickName`

昵称

`@property (nonatomic, copy) NSString *nickName`

#### Discussion

昵称

#### Declared In

`QNIMUserProfile.h`

### ` avatarUrl`

头像url

`@property (nonatomic, copy) NSString *avatarUrl`

#### Discussion

头像url

#### Declared In

`QNIMUserProfile.h`

### ` avatarPath`

头像本地路径

`@property (nonatomic, copy) NSString *avatarPath`

#### Discussion

头像本地路径

#### Declared In

`QNIMUserProfile.h`

### ` avatarThumbnailUrl`

头像缩略图url

`@property (nonatomic, copy) NSString *avatarThumbnailUrl`

#### Discussion

头像缩略图url

#### Declared In

`QNIMUserProfile.h`

### ` avatarThumbnailPath`

头像缩略图本地路径

`@property (nonatomic, copy) NSString *avatarThumbnailPath`

#### Discussion

头像缩略图本地路径

#### Declared In

`QNIMUserProfile.h`

### ` mobilePhone`

手机号

`@property (nonatomic, copy) NSString *mobilePhone`

#### Discussion

手机号

#### Declared In

`QNIMUserProfile.h`

### ` email`

用户邮箱

`@property (nonatomic, copy) NSString *email`

#### Discussion

用户邮箱

#### Declared In

`QNIMUserProfile.h`

### ` publicInfoJson`

公开信息

`@property (nonatomic, copy) NSString *publicInfoJson`

#### Discussion

公开信息

#### Declared In

`QNIMUserProfile.h`

### ` privateInfoJson`

私密信息

`@property (nonatomic, copy) NSString *privateInfoJson`

#### Discussion

私密信息

#### Declared In

`QNIMUserProfile.h`

### ` authQuestion`

验证问题

`@property (nonatomic, strong) QNIMAuthQuestion *authQuestion`

#### Discussion

验证问题

#### Declared In

`QNIMUserProfile.h`

### ` messageSetting`

消息设置

`@property (nonatomic, strong) QNIMMessageSetting *messageSetting`

#### Discussion

消息设置

#### Declared In

`QNIMUserProfile.h`

### ` addFriendAuthMode`

好友验证模式

`@property (nonatomic, assign) QNIMAddFriendAuthMode addFriendAuthMode`

#### Discussion

好友验证模式

#### Declared In

`QNIMUserProfile.h`

### ` isAutoAcceptGroupInvite`

自动接收群邀请

`@property (nonatomic, assign) BOOL isAutoAcceptGroupInvite`

#### Discussion

自动接收群邀请

#### Declared In

`QNIMUserProfile.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯Protocol References

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > Protocol
References

#  Protocol References

最近更新时间: 2021-06-27 11:47:54

Protocol References

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMChatServiceProtocol Protocol Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Protocol
References](https://developer.qiniu.com/IM/api/8131/im-ios-protocol-
references) > QNIMChatServiceProtocol Protocol Reference

#  QNIMChatServiceProtocol Protocol Reference

最近更新时间: 2021-06-27 18:02:08

# QNIMChatServiceProtocol Protocol Reference

Conforms to | NSObject  
---|---  
Declared in | QNIMChatServiceProtocol.h  
  
### `- messageStatusChanged:error:`

消息发送状态发生变化

`- (void)messageStatusChanged:(QNIMMessageObject *) _message_ error:(QNIMError
*) _error_`

#### Discussion

消息发送状态发生变化

#### Declared In

`QNIMChatServiceProtocol.h`

### `- receivedMessages:`

收到消息

`- (void)receivedMessages:(NSArray<QNIMMessageObject*> *) _messages_`

#### Discussion

收到消息

#### Declared In

`QNIMChatServiceProtocol.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMGroupServiceProtocol Protocol Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Protocol
References](https://developer.qiniu.com/IM/api/8131/im-ios-protocol-
references) > QNIMGroupServiceProtocol Protocol Reference

#  QNIMGroupServiceProtocol Protocol Reference

最近更新时间: 2021-06-27 18:12:38

# QNIMGroupServiceProtocol Protocol Reference

Conforms to | NSObject  
---|---  
Declared in | QNIMGroupServiceProtocol.h  
  
### `- groupLeft:reason:` required method

退出了某群

`- (void)groupLeft:(QNIMGroup *) _group_ reason:(NSString *) _reason_`

#### Discussion

退出了某群

#### Declared In

`QNIMGroupServiceProtocol.h`

### `- groupMemberJoined:memberId:inviter:` required method

加入新成员

`- (void)groupMemberJoined:(QNIMGroup *) _group_ memberId:(NSInteger)
_memberId_ inviter:(NSInteger) _inviter_`

#### Discussion

加入新成员

#### Declared In

`QNIMGroupServiceProtocol.h`

### `- groupMemberLeft:memberId:reason:` required method

群成员退出

`- (void)groupMemberLeft:(QNIMGroup *) _group_ memberId:(NSInteger) _memberId_
reason:(NSString *) _reason_`

#### Discussion

群成员退出

#### Declared In

`QNIMGroupServiceProtocol.h`

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯Constant References

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > Constant
References

#  Constant References

最近更新时间: 2021-06-27 18:14:53

Constant References

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMConnectStatus Constants Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Constant
References](https://developer.qiniu.com/IM/api/8145/im-ios-constant-
references) > QNIMConnectStatus Constants Reference

#  QNIMConnectStatus Constants Reference

最近更新时间: 2021-06-27 18:31:09

# QNIMConnectStatus Constants Reference

Declared in | QNIMClient.h  
---|---  
  
### QNIMConnectStatus

#### Definition

`typedef NS_ENUM(NSUInteger, QNIMConnectStatus ) {
[QNIMConnectStatusDisconnected](), [QNIMConnectStatusConnected](), };`

#### Constants

`QNIMConnectStatusDisconnected`

Declared In `QNIMClient.h`.

`QNIMConnectStatusConnected`

Declared In `QNIMClient.h`.

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMLogLevel Constants Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Constant
References](https://developer.qiniu.com/IM/api/8145/im-ios-constant-
references) > QNIMLogLevel Constants Reference

#  QNIMLogLevel Constants Reference

最近更新时间: 2021-06-27 18:33:47

# QNIMLogLevel Constants Reference

Declared in | QNIMClient.h  
---|---  
  
### QNIMLogLevel

#### Definition

`typedef NS_ENUM(NSUInteger, QNIMLogLevel ) { [QNIMLogLevelError](),
[QNIMLogLevelWarning](), [QNIMLogLevelDebug](), };`

#### Constants

`QNIMLogLevelError`

Declared In `QNIMClient.h`.

`QNIMLogLevelWarning`

Declared In `QNIMClient.h`.

`QNIMLogLevelDebug`

Declared In `QNIMClient.h`.

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMNetworkType Constants Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Constant
References](https://developer.qiniu.com/IM/api/8145/im-ios-constant-
references) > QNIMNetworkType Constants Reference

#  QNIMNetworkType Constants Reference

最近更新时间: 2021-06-27 18:35:03

# QNIMNetworkType Constants Reference

Declared in | QNIMClient.h  
---|---  
  
### QNIMNetworkType

#### Definition

`typedef NS_ENUM(NSUInteger, QNIMNetworkType ) { [QNIMNetworkTypeMobile](),
[QNIMNetworkTypeWifi](), [QNIMNetworkTypeCable](), [QNIMNetworkTypeNone](),
};`

#### Constants

`QNIMNetworkTypeMobile`

Declared In `QNIMClient.h`.

`QNIMNetworkTypeWifi`

Declared In `QNIMClient.h`.

`QNIMNetworkTypeCable`

Declared In `QNIMClient.h`.

`QNIMNetworkTypeNone`

Declared In `QNIMClient.h`.

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯QNIMSignInStatus Constants Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Constant
References](https://developer.qiniu.com/IM/api/8145/im-ios-constant-
references) > QNIMSignInStatus Constants Reference

#  QNIMSignInStatus Constants Reference

最近更新时间: 2021-06-27 18:36:13

# QNIMSignInStatus Constants Reference

Declared in | QNIMClient.h  
---|---  
  
### QNIMSignInStatus

#### Definition

`typedef NS_ENUM(NSUInteger, QNIMSignInStatus ) { [QNIMSignInStatusSignOut](),
[QNIMSignInStatusSignIn](), };`

#### Constants

`QNIMSignInStatusSignOut`

Declared In `QNIMClient.h`.

`QNIMSignInStatusSignIn`

Declared In `QNIMClient.h`.

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯BMXChatService.ThumbnailStrategy

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [ANDROID
API](https://developer.qiniu.com/IM/api/8191/android-im-class-indexes) >
[BMXChatService](https://developer.qiniu.com/IM/api/8195/bmxchatservice) >
BMXChatService.ThumbnailStrategy

#  BMXChatService.ThumbnailStrategy

最近更新时间: 2022-07-22 22:36:11

class im.floo.floolib.BMXChatService.ThumbnailStrategy

缩略图生成策略,

Index

字段

  * ThirdpartyServerCreate
  * LocalServerCreate

方法

  * values
  * valueOf
  * swigValue
  * swigToEnum

字段

ThirdpartyServerCreate

  * public static final ThumbnailStrategy ThirdpartyServerCreate
  * 

LocalServerCreate

  * public static final ThumbnailStrategy LocalServerCreate
  * 

方法

values

  * public static im.floo.floolib.BMXChatService.ThumbnailStrategy[] values();
  * Returns ThumbnailStrategy

valueOf

  * public static im.floo.floolib.BMXChatService.ThumbnailStrategy valueOf(java.lang.String name);
  * Returns ThumbnailStrategy

swigValue

  * public final int swigValue();
  * Returns int

swigToEnum

  * public static ThumbnailStrategy swigToEnum(int swigValue);
  * Returns ThumbnailStrategy

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯BMXClientType

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [ANDROID
API](https://developer.qiniu.com/IM/api/8191/android-im-class-indexes) >
BMXClientType

#  BMXClientType

最近更新时间: 2022-07-26 14:11:34

class im.floo.floolib.BMXClientType

客户端类型

Index

字段

  * Unknown
  * iOS
  * Android
  * Windows
  * macOS
  * Linux
  * Web

方法

  * values
  * valueOf
  * swigValue
  * swigToEnum

字段

Unknown

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) Unknown
  * 

iOS

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) iOS
  * 

Android

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) Android
  * 

Windows

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) Windows
  * 

macOS

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) macOS
  * 

Linux

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) Linux
  * 

Web

  * public static final [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype) Web
  * 

方法

values

  * public static im.floo.floolib.BMXClientType[] values();
  * Returns [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype)

valueOf

  * public static im.floo.floolib.BMXClientType valueOf(java.lang.String name);
  * Returns [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype)

swigValue

  * public final int swigValue();
  * Returns int

swigToEnum

  * public static BMXClientType swigToEnum(int swigValue);
  * Returns [BMXClientType](https://developer.qiniu.com/IM/api/8198/bmxclienttype)

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯BXMChatRoomManager

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [ANDROID
API](https://developer.qiniu.com/IM/api/8191/android-im-class-indexes) >
BXMChatRoomManager

#  BXMChatRoomManager

最近更新时间: 2022-07-22 22:41:49

## 类 BXMChatRoomManager

  * java.lang.Object

  *     * com.qiniu.droid.imsdk.BXMChatRoomManager
  * * * *
    
        public class BXMChatRoomManager
    extends java.lang.Object
    

聊天室

  *     * ### 构造器概要

构造器 限定符 | 构造器和说明  
---|---  
`protected ` | `BXMChatRoomManager(im.floo.floolib.BMXGroupManager groupManager)`  
  
    * ### 方法概要

所有方法 实例方法 具体方法 限定符和类型 | 方法和说明  
---|---  
`void` | `create(java.lang.String name, im.floo.BMXDataCallBack<im.floo.floolib.BMXGroup> callBack)` 创建聊天室   
`void` | `removeGroupListener(BMXGroupServiceListener listener)` 移除群组变化监听者   
  

`void` | `addGroupListener(BMXGroupServiceListener listener)` 添加群组变化监听者   
`void` | `destroy(long groupId, im.floo.BMXCallBack callBack)` 销毁聊天室   
`void` | `getMembers(long groupId, boolean forceUpdate, im.floo.BMXDataCallBack<im.floo.floolib.BMXGroupMemberList> callBack)` 获取群成员   
`void` | `join(long groupId, im.floo.BMXCallBack callBack)` 加入聊天室   
`void` | `leave(long groupId, im.floo.BMXCallBack callBack)` 退出聊天室   
      
    
         *  ### 从类继承的方法 java.lang.Object ###
            
            `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
    

  *     * ### 构造器详细资料

      * #### BXMChatRoomManager
            
                        protected BXMChatRoomManager(im.floo.floolib.BMXGroupManager groupManager)
            

    * ### 方法详细资料

      * #### create
            
                        public void create(java.lang.String name,
                               im.floo.BMXDataCallBack<im.floo.floolib.BMXGroup> callBack)
            

创建聊天室

参数:

`name` \- 聊天室名字

`callBack` \- 回调

      * #### join
            
                        public void join(long groupId,
                             im.floo.BMXCallBack callBack)
            

加入聊天室

参数:

`groupId` \- 群ID

`callBack` \- 回调

      * #### leave
            
                        public void leave(long groupId,
                              im.floo.BMXCallBack callBack)
            

退出聊天室

参数:

`groupId` \- 群ID

`callBack` \- 回调

      * #### destroy
            
                        public void destroy(long groupId,
                                im.floo.BMXCallBack callBack)
            

销毁聊天室

参数:

`groupId` \- 群ID

`callBack` \- 回调

      * #### getMembers
            
                        public void getMembers(long groupId,
                                   boolean forceUpdate,
                                   im.floo.BMXDataCallBack<im.floo.floolib.BMXGroupMemberList> callBack)
            

获取群成员

参数:

`groupId` \- 群ID

`callBack` \- 回调

      * #### addGroupListener

public void addGroupListener(BMXGroupServiceListener listener)

添加群组变化监听者

参数:

`listener` \- 群组变化监听者

      * #### removeGroupListener
            
                        public void removeGroupListener(BMXGroupServiceListener listener)
            

移除群组变化监听者

参数:

`listener` \- 群组变化监听者

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯BXMChatRoomService

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [ANDROID
API](https://developer.qiniu.com/IM/api/8191/android-im-class-indexes) >
BXMChatRoomService

#  BXMChatRoomService

最近更新时间: 2022-07-22 22:43:02

class com.qiniu.droid.imsdk.BXMChatRoomService

聊天室

Index

方法

  * create
  * join
  * leave
  * destroy
  * getMembers
  * getMembers
  * addGroupListener
  * removeGroupListener

方法

create

  * public BMXErrorCode create(String name, BMXGroup group);
  * 创建聊天室

Parameters

    * name: String 

聊天室名字

    * group: [BMXGroup](https://developer.qiniu.com/IM/api/8211/bmxgroup)

空的群对象容器

Returns BMXErrorCode

join

  * public BMXErrorCode join(long groupId);
  * 加入聊天室

Parameters

    * groupId: long 

群ID

Returns BMXErrorCode

leave

  * public BMXErrorCode leave(long groupId);
  * 退出聊天室

Parameters

    * groupId: long 

群ID

Returns BMXErrorCode

destroy

  * public BMXErrorCode destroy(long groupId);
  * 销毁聊天室

Parameters

    * groupId: long 

群ID

Returns BMXErrorCode

getMembers

  * public BMXErrorCode getMembers(long groupId, BMXGroupMemberList list, boolean forceRefresh);
  * 获取群成员

Parameters

    * groupId: long 

群ID

    * list: BMXGroupMemberList 

数据结果

Returns BMXErrorCode

getMembers

  * public BMXErrorCode getMembers(long groupId, BMXGroupMemberResultPage result, String cursor, int pageSize);
  * 获取群成员

Parameters

    * groupId: long 

群ID

    * result: BMXGroupMemberResultPage 

分页获取的群成员列表，传入指向为空的shared_ptr对象函数执行后从此处获取结果

    * cursor: String 

分页获取的起始cursor，第一次传入为空，后续传入上次操作返回的result中的cursor

    * pageSize: int 

分页大小

Returns BMXErrorCode

addGroupListener

  * public void addGroupListener(BMXGroupServiceListener listener);
  * 添加群监听

Parameters

    * listener: [BMXGroupServiceListener](https://developer.qiniu.com/IM/api/8235/bmxgroupservicelistener)

群监听

Returns void

removeGroupListener

  * public void removeGroupListener(BMXGroupServiceListener listener);
  * 移除群组变化监听者

Parameters

    * listener: [BMXGroupServiceListener](https://developer.qiniu.com/IM/api/8235/bmxgroupservicelistener)

群监听

Returns void

以上内容是否对您有帮助？
human: 如何处理七牛云的即时通讯BMXConnectStatus

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [ANDROID
API](https://developer.qiniu.com/IM/api/8191/android-im-class-indexes) >
BMXConnectStatus

#  BMXConnectStatus

最近更新时间: 2022-07-22 22:40:13

class im.floo.floolib.BMXConnectStatus

网络连接状态

Index

字段

  * Disconnected
  * Connected

方法

  * values
  * valueOf
  * swigValue
  * swigToEnum

字段

Disconnected

  * public static final [BMXConnectStatus](https://developer.qiniu.com/IM/api/8202/bmxconnectstatus) Disconnected
  * 

Connected

  * public static final [BMXConnectStatus](https://developer.qiniu.com/IM/api/8202/bmxconnectstatus) Connected
  * 

方法

values

  * public static im.floo.floolib.BMXConnectStatus[] values();
  * Returns [BMXConnectStatus](https://developer.qiniu.com/IM/api/8202/bmxconnectstatus)

valueOf

  * public static im.floo.floolib.BMXConnectStatus valueOf(java.lang.String name);
  * Returns [BMXConnectStatus](https://developer.qiniu.com/IM/api/8202/bmxconnectstatus)

swigValue

  * public final int swigValue();
  * Returns int

swigToEnum

  * public static BMXConnectStatus swigToEnum(int swigValue);
  * Returns [BMXConnectStatus](https://developer.qiniu.com/IM/api/8202/bmxconnectstatus)

以上内容是否对您有帮助？