HyphenateSDK  3.1.4
Instance Methods | Class Methods | Properties | List of all members
EMGroup Class Reference

#import <EMGroup.h>

Inheritance diagram for EMGroup:

Instance Methods

("Use +groupWithId:") - __deprecated_msg
 

Class Methods

(instancetype) + groupWithId:
 

Properties

NSString * groupId
 
NSString * subject
 
NSString * description
 
NSInteger occupantsCount
 
EMGroupOptionssetting
 
NSString * owner
 
NSArray * members
 
NSArray * bans
 
NSArray * occupants
 
BOOL isPushNotificationEnabled
 
BOOL isPublic
 
BOOL isBlocked
 

Detailed Description

EMGroup.h Group

Author
Hyphenate
Version
3.00

Group

Method Documentation

- ("Use +)groupWithId:

Initialize group instance

Please use [+groupWithId:]

Returns
nil
+ (instancetype) groupWithId: (NSString *)  aGroupId

Get group instance, create a instance if do not exist

Parameters
aGroupIdGroup id
Returns
Group instance

Property Documentation

- (NSArray*) bans
readnonatomicstrong

Group‘s blacklist, need to call fetching group's blacklist method first

Need owner's authority, will return nil if user is not the owner of the group

- (NSString*) description
readnonatomiccopy

Group's description, need to fetch group's specification

- (NSString*) groupId
readnonatomiccopy

Group id

- (BOOL) isBlocked
readnonatomicassign

Whether block this group‘s message

- (BOOL) isPublic
readnonatomicassign

Whether is public group, need to fetch group's specification

- (BOOL) isPushNotificationEnabled
readnonatomicassign

Whether this group receive push notifications

- (NSArray*) members
readnonatomiccopy

Member list of group, need to fetch group's specification

- (NSArray*) occupants
readnonatomicstrong

All occupants of the group, include both the owner and all members

- (NSInteger) occupantsCount
readnonatomicassign

The number of members, need to fetch group's specification

- (NSString*) owner
readnonatomiccopy

Group‘s owner, has the highest authority, need to fetch group's specification

A group only has one owner

- (EMGroupOptions*) setting
readnonatomicstrong

Group's setting options, need to fetch group's specification

- (NSString*) subject
readnonatomiccopy

Group's subject, need to fetch group's specification


The documentation for this class was generated from the following file: