JCSDK Objective-C API Reference for iOS/macOS  2.5.1
JCGroupItem.h
1 //
2 // JCGroupItem.h
3 // JCSDKOC
4 //
5 // Created by maikireton on 2017/8/15.
6 // Copyright © 2017年 juphoon. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "JCGroupConstants.h"
11 
20 @interface JCGroupItem : NSObject
21 
25 @property (nonatomic, copy, readonly) NSString* groupId;
26 
32 @property (nonatomic, copy, readonly) NSString* nickName;
33 
39 @property (nonatomic, copy, readonly) NSString* tag;
40 
44 @property (nonatomic, copy, readonly) NSString* name;
45 
51 @property (nonatomic, readonly) bool dnd;
52 
58 @property (nonatomic, readonly) JCGroupType type;
59 
63 @property (nonatomic, readonly) NSDictionary<NSString*, NSObject*>* customProperties;
64 
73 @property (nonatomic, readonly) JCGroupChangeState changeState;
74 
78 //@property (nonatomic, readonly) long long updateTime;
79 
96 -(instancetype)init:(NSString*)groupId nickName:(NSString*)nickName tag:(NSString*)tag dnd:(bool)dnd changeState:(JCGroupChangeState)changeState;
97 
108 -(instancetype)init:(NSString*)groupId name:(NSString*)name type:(JCGroupType)type customProperties:(NSDictionary<NSString*, NSObject*>*)customProperties;
109 
121 -(instancetype)init:(NSString*)groupId changeState:(JCGroupChangeState)changeState;
122 
123 @end
124 
JCGroupItem::name
NSString * name
Definition: JCGroupItem.h:44
JCGroupItem::tag
NSString * tag
Definition: JCGroupItem.h:39
JCGroupChangeState
JCGroupChangeState
Definition: JCGroupConstants.h:87
JCGroupType
JCGroupType
Definition: JCGroupConstants.h:103
JCGroupItem::dnd
bool dnd
Definition: JCGroupItem.h:51
JCGroupItem::customProperties
NSDictionary< NSString *, NSObject * > * customProperties
Definition: JCGroupItem.h:63
JCGroupItem::type
JCGroupType type
Definition: JCGroupItem.h:58
JCGroupItem::groupId
NSString * groupId
Definition: JCGroupItem.h:25
JCGroupItem::nickName
NSString * nickName
Definition: JCGroupItem.h:32
JCGroupItem::changeState
JCGroupChangeState changeState
Definition: JCGroupItem.h:73
JCGroupItem
Definition: JCGroupItem.h:21