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

  isBlockedByMe

@property (atomic) BOOL isBlockedByMe

  isBlockingMe

@property (atomic) BOOL isBlockingMe

  isMuted

3.0.198

@property (atomic) BOOL isMuted

Availability

3.0.198

Declared In

SBDMember.h

  role

3.0.174

@property (atomic, readonly) SBDRole role

Availability

3.0.174

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