AgoraChatSDK 1.0.7
AgoraChatroom.h
1
15#import <Foundation/Foundation.h>
16
17#import "AgoraChatCommonDefs.h"
18
26typedef NS_ENUM(NSInteger, AgoraChatroomPermissionType) {
27 AgoraChatroomPermissionTypeNone = -1,
28 AgoraChatroomPermissionTypeMember = 0,
29 AgoraChatroomPermissionTypeAdmin,
30 AgoraChatroomPermissionTypeOwner,
31};
32
33
41@interface AgoraChatroom : NSObject
42
50@property (nonatomic, copy, readonly) NSString * _Nullable chatroomId;
51
59@property (nonatomic, copy, readonly) NSString * _Nullable subject;
60
68@property (nonatomic, copy, readonly) NSString * _Nullable description;
69
79@property (nonatomic, copy, readonly) NSString * _Nullable owner;
80
88@property (nonatomic, copy, readonly) NSString * _Nullable announcement;
89
99@property (nonatomic, copy, readonly) NSArray<NSString *> * _Nullable adminList;
100
108@property (nonatomic, copy, readonly) NSArray<NSString *> * _Nullable memberList;
109
121@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable blacklist;
122
123
135@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable muteList;
136
148@property (nonatomic, strong, readonly) NSArray<NSString *> * _Nullable whitelist;
149
157@property (nonatomic, readonly) AgoraChatroomPermissionType permissionType;
158
166@property (nonatomic, readonly) NSInteger maxOccupantsCount;
167
175@property (nonatomic, readonly) NSInteger occupantsCount;
176
184@property (nonatomic, readonly) BOOL isMuteAllMembers;
200+ (instancetype _Nullable)chatroomWithId:(NSString * _Nonnull )aChatroomId;
201
202#pragma mark - EM_DEPRECATED_IOS 3.8.8
203
215@property (nonatomic, strong, readonly) NSArray *whiteList __deprecated_msg("Use whitelist instead");
216
217@end
Definition: AgoraChatroom.h:42
AgoraChatroomPermissionType permissionType
Definition: AgoraChatroom.h:157
NSArray< NSString * > *_Nullable muteList
Definition: AgoraChatroom.h:135
NSString *_Nullable chatroomId
Definition: AgoraChatroom.h:50
NSString *_Nullable description
Definition: AgoraChatroom.h:68
NSArray< NSString * > *_Nullable blacklist
Definition: AgoraChatroom.h:121
BOOL isMuteAllMembers
Definition: AgoraChatroom.h:184
NSInteger maxOccupantsCount
Definition: AgoraChatroom.h:166
NSArray< NSString * > *_Nullable whitelist
Definition: AgoraChatroom.h:148
NSInteger occupantsCount
Definition: AgoraChatroom.h:175
NSArray *whiteList __deprecated_msg("Use whitelist instead")
NSString *_Nullable subject
Definition: AgoraChatroom.h:59
NSString *_Nullable owner
Definition: AgoraChatroom.h:79
NSArray< NSString * > *_Nullable memberList
Definition: AgoraChatroom.h:108
NSArray< NSString * > *_Nullable adminList
Definition: AgoraChatroom.h:99
NSString *_Nullable announcement
Definition: AgoraChatroom.h:88