SBDMember Class Reference
Inherits from | SBDUser : NSObject |
---|---|
Conforms to | NSCopying SBDMappable |
Declared in | SBDMember.h |
Overview
The SBDMember
class represents a member of a group channel. This class has a property to show the state for invitation.
state
The state for invitation. The values of the property are invited
and joined
. The invited
means that the user doesn’t accept the invitation yet and the joined
means that the user accepted the invitation manually or automatically.
@property (atomic) SBDMemberState state
Declared In
SBDMember.h
restrictionInfo
3.0.236
@property (atomic, nullable, readonly) SBDRestrictionInfo *restrictionInfo
Availability
3.0.236
Declared In
SBDMember.h
– init
DO NOT USE this initializer. You can only get an instance type of SBDMember
from SDK.
- (nullable instancetype)init
Declared In
SBDMember.h
+ buildFromSerializedData:
Builds a member object from serialized data.
+ (nullable instancetype)buildFromSerializedData:(NSData *_Nonnull)data
Parameters
data |
Serialized data. |
---|
Return Value
SBDMember object.
Declared In
SBDMember.h
– serialize
Serializes a member object.
- (nullable NSData *)serialize
Return Value
Serialized data.
Declared In
SBDMember.h