HyphenateChatSDK 3.9.9.1
EMCircleServer.h
1//
2// EMCircleServer.h
3// HyphenateChat
4//
5// Created by 冯钊 on 2022/6/15.
6// Copyright © 2022 easemob.com. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11#import "EMCircleServerTag.h"
18typedef NS_ENUM(NSUInteger, EMCircleServerType) {
19 EMCircleServerTypePublic = 0,
20 EMCircleServerTypePrivate,
21};
22
23NS_ASSUME_NONNULL_BEGIN
24
25@interface EMCircleServer : NSObject
26
27- (instancetype)init NS_UNAVAILABLE;
28+ (instancetype)new NS_UNAVAILABLE;
29
30- (instancetype)initWithServerId:(NSString *)serverId name:(NSString *)name defaultChannelId:(NSString *)channelId;
35@property (nonatomic, assign) EMCircleServerType type;
36
41@property (nonatomic, copy) NSString *serverId;
46@property (nonatomic, copy) NSString *name;
51@property (nonatomic, copy, nullable) NSString *icon;
56@property (nonatomic, copy, nullable) NSString *background;
61@property (nonatomic, copy, nullable) NSString *desc;
66@property (nonatomic, copy, nullable) NSString *ext;
71@property (nonatomic, copy, nullable) NSString *owner;
76@property (nonatomic, copy) NSString *defaultChannelId;
81@property (nonatomic, strong, nullable) NSArray<EMCircleServerTag *> *tags;
82
83@end
84
85NS_ASSUME_NONNULL_END
Definition: EMCircleServer.h:26
NSArray< EMCircleServerTag * > * tags
Definition: EMCircleServer.h:81
NSString * desc
Definition: EMCircleServer.h:61
NSString * ext
Definition: EMCircleServer.h:66
NSString * owner
Definition: EMCircleServer.h:71
NSString * defaultChannelId
Definition: EMCircleServer.h:76
NSString * serverId
Definition: EMCircleServer.h:41
EMCircleServerType type
Definition: EMCircleServer.h:35
NSString * name
Definition: EMCircleServer.h:46
NSString * icon
Definition: EMCircleServer.h:51
NSString * background
Definition: EMCircleServer.h:56