9#import <Foundation/Foundation.h>
11#import "AgoraChatCommonDefs.h"
17typedef NS_ENUM(NSInteger, AgoraChatroomPermissionType) {
18 AgoraChatroomPermissionTypeNone = -1,
19 AgoraChatroomPermissionTypeMember = 0,
20 AgoraChatroomPermissionTypeAdmin,
21 AgoraChatroomPermissionTypeOwner,
35@property (nonatomic, copy, readonly) NSString * _Nullable
chatroomId;
41@property (nonatomic, copy, readonly) NSString * _Nullable
subject;
47@property (nonatomic, copy, readonly) NSString * _Nullable
description;
53@property (nonatomic, copy, readonly) NSString * _Nullable
owner;
59@property (nonatomic, copy, readonly) NSString * _Nullable
announcement;
66@property (nonatomic, copy, readonly) NSArray<NSString *> * _Nullable
adminList;
72@property (nonatomic, copy, readonly) NSArray<NSString *> * _Nullable
memberList;
80@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
blacklist;
89@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
muteList;
97@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable
whitelist;
130+ (instancetype _Nullable)chatroomWithId:(NSString * _Nonnull )aChatroomId;
132#pragma mark - EM_DEPRECATED_IOS 3.8.8
140@property (nonatomic, strong, readonly) NSArray *whiteList
__deprecated_msg(
"Use whitelist instead");
142#pragma mark - EM_DEPRECATED_IOS 3.3.0
148@property (nonatomic, copy, readonly) NSArray *members
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -memberList instead");
154@property (nonatomic, readonly) NSInteger membersCount
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -occupantsCount instead");
160@property (nonatomic, readonly) NSInteger maxMembersCount
EM_DEPRECATED_IOS(3_1_0, 3_3_0,
"Use -maxOccupantsCount instead");
162#pragma mark - EM_DEPRECATED_IOS < 3.2.3
168@property (nonatomic, copy, readonly) NSArray *occupants
__deprecated_msg(
"Use -members instead");
Definition: AgoraChatroom.h:30
NSArray *members EM_DEPRECATED_IOS(3_1_0, 3_3_0, "Use -memberList instead")
AgoraChatroomPermissionType permissionType
Definition: AgoraChatroom.h:103
NSArray< NSString * > *_Nullable muteList
Definition: AgoraChatroom.h:89
NSInteger membersCount EM_DEPRECATED_IOS(3_1_0, 3_3_0, "Use -occupantsCount instead")
NSString *_Nullable chatroomId
Definition: AgoraChatroom.h:35
NSString *_Nullable description
Definition: AgoraChatroom.h:47
NSArray< NSString * > *_Nullable blacklist
Definition: AgoraChatroom.h:80
BOOL isMuteAllMembers
Definition: AgoraChatroom.h:121
NSInteger maxMembersCount EM_DEPRECATED_IOS(3_1_0, 3_3_0, "Use -maxOccupantsCount instead")
NSInteger maxOccupantsCount
Definition: AgoraChatroom.h:109
"Use +chatroomWithId: instead" __deprecated_msg()
NSArray< NSString * > *_Nullable whitelist
Definition: AgoraChatroom.h:97
NSArray *occupants __deprecated_msg("Use -members instead")
NSInteger occupantsCount
Definition: AgoraChatroom.h:115
NSArray *whiteList __deprecated_msg("Use whitelist instead")
NSString *_Nullable subject
Definition: AgoraChatroom.h:41
NSString *_Nullable owner
Definition: AgoraChatroom.h:53
NSArray< NSString * > *_Nullable memberList
Definition: AgoraChatroom.h:72
NSArray< NSString * > *_Nullable adminList
Definition: AgoraChatroom.h:66
NSString *_Nullable announcement
Definition: AgoraChatroom.h:59