BDKCallObserver
Objective-C
@protocol BDKCallObserver <NSObject>
Swift
protocol CallObserver : NSObjectProtocol
A call observer, notified about call events.
-
Invoked when a call changes state.
Declaration
Objective-C
- (void)call:(nonnull id<BDKCall>)call didChangeState:(BDKCallState)state;Parameters
callThe call object.
stateThe new call state.
-
Invoked when a call updates its options.
Declaration
Objective-C
- (void)call:(nonnull id<BDKCall>)call didUpdateOptions:(nonnull BDKCallOptions *)options;Parameters
callThe call object.
optionsThe new call options.
-
Invoked when a call updates its participants.
Declaration
Objective-C
- (void)call:(nonnull id<BDKCall>)call didUpdateParticipants:(nonnull id<BDKCallParticipants>)participants;Parameters
callThe call object.
participantsThe new call participants.
-
Invoked when a call updates its muted flag.
Declaration
Objective-C
- (void)call:(nonnull id<BDKCall>)call didSetMute:(BOOL)muted;Parameters
callThe call object.
mutedA boolean flag indicating whether the call has been set muted to true or false.
-
Invoked when a call has upgraded to audio/video call.
Declaration
Objective-C
- (void)callDidUpgradeToVideoCall:(nonnull id<BDKCall>)call;Parameters
callThe call object.
-
Invoked when a call has connected.
You should enter the room where this call will take place.
Declaration
Objective-C
- (void)callDidConnect:(nonnull id<BDKCall>)call;Parameters
callThe call object.
-
Invoked when a call has ended.
Declaration
Objective-C
- (void)callDidEnd:(nonnull id<BDKCall>)call;Parameters
callThe call object.
-
Invoked when a call has failed.
Declaration
Objective-C
- (void)call:(nonnull id<BDKCall>)call didFailWithError:(nonnull NSError *)error;Parameters
callThe call object.
errorThe error that caused the failure.
View on GitHub
BDKCallObserver Protocol Reference