BDKCallParticipant
Objective-C
@protocol BDKCallParticipant <NSObject>
Swift
protocol CallParticipant : NSObjectProtocol
Object representing a call participant and its state in the call. This object can be checked for equality.
-
The user object
Declaration
Objective-C
@property (nonatomic, strong, readonly) id<BDKUser> _Nonnull user; -
The user identifier.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull userId;Swift
var userId: String { get } -
The state of the user in the call
Declaration
Objective-C
@property (nonatomic, readonly) BDKCallParticipantState state;Swift
var state: CallParticipantState { get }
-
Returns a flag indicating whether the user has answered, or not.
Declaration
Objective-C
- (BOOL)hasAnswered;Swift
func hasAnswered() -> BoolReturn Value
YES if the user has answered, NO otherwise.
-
Returns a flag indicating whether the user has declined, or not.
Declaration
Objective-C
- (BOOL)hasDeclined;Swift
func hasDeclined() -> BoolReturn Value
YES if the user has declined, NO otherwise.
-
Returns a flag indicating whether the user has declined because of do not disturb, or not.
Declaration
Objective-C
- (BOOL)hasDeclinedByDoNotDisturb;Swift
func hasDeclinedByDoNotDisturb() -> BoolReturn Value
YES if the user has declined because of do not disturb, NO otherwise.
-
Returns a flag indicating whether the user has missed the call, and did not answer.
Declaration
Objective-C
- (BOOL)didNotAnswer;Swift
func didNotAnswer() -> BoolReturn Value
YES if the user did not answer and missed the call, NO otherwise.
-
Returns a flag indicating whether the user has timed out while connecting the call.
Declaration
Objective-C
- (BOOL)hasTimedOut;Swift
func hasTimedOut() -> BoolReturn Value
YES if the user has timed out while connecting the call, NO otherwise.
-
Returns a flag indicating whether the user has disconnected.
Declaration
Objective-C
- (BOOL)hasDisconnected;Swift
func hasDisconnected() -> BoolReturn Value
YES if the user has disconnected, NO otherwise.
-
Returns a flag indicating whether the participant has upgraded to video, or not.
Declaration
Objective-C
- (BOOL)didUpgradeToVideo;Swift
func didUpgradeToVideo() -> BoolReturn Value
YES if the user has upgraded to video, NO otherwise
View on GitHub
BDKCallParticipant Protocol Reference