Bit6CallController Class Reference
Inherits from | NSObject |
Declared in | Bit6CallController.h |
Tasks
Call Properties
-
callState
property -
otherDisplayName
property -
incomingCall
property -
incomingCallAnswered
property -
incomingCallAlert
property -
error
property -
other
property -
localStreams
property -
remoteStreams
property -
hasAudio
property -
hasVideo
property -
hasData
property -
hasRemoteAudio
property -
hasRemoteVideo
property -
hasRemoteData
property -
seconds
property -
+ speakerEnabled
-
+ bluetoothEnabled
-
+ audioMuted
-
+ videoMuted
-
+ usingRearCamera
-
outgoingTransfers
property -
incomingTransfers
property
Actions
Properties
callState
Call status as a value of the Bit6MessageStatus enumeration.
@property (nonatomic, readonly) Bit6CallState callState
Discussion
For incoming calls the states go: NEW -> ACCEPTING_CALL -> WAITING_SDP -> GATHERING_CANDIDATES -> SENDING_SDP -> CONNECTING -> CONNECTED -> END
For outgoing calls the states go: NEW -> GATHERING_CANDIDATES -> SENDING_SDP -> WAITING_SDP -> CONNECTING -> CONNECTED -> END
Declared In
Bit6CallController.h
error
The latest error to occur during the call.
@property (nullable, nonatomic, strong, readonly) NSError *error
Declared In
Bit6CallController.h
hasAudio
The local streams being sent include an audio track.
@property (nonatomic, readonly) BOOL hasAudio
Declared In
Bit6CallController.h
hasData
The local streams being sent include support for data transfer.
@property (nonatomic, readonly) BOOL hasData
Declared In
Bit6CallController.h
hasRemoteAudio
The remote streams being received include an audio track.
@property (nonatomic, readonly) BOOL hasRemoteAudio
Declared In
Bit6CallController.h
hasRemoteData
The remote streams being received include support for data transfer.
@property (nonatomic, readonly) BOOL hasRemoteData
Declared In
Bit6CallController.h
hasRemoteVideo
The remote streams being received include a video track.
@property (nonatomic, readonly) BOOL hasRemoteVideo
Declared In
Bit6CallController.h
hasVideo
The local streams being sent include a video track.
@property (nonatomic, readonly) BOOL hasVideo
Declared In
Bit6CallController.h
incomingCall
The call is an incoming call.
@property (nonatomic, readonly) BOOL incomingCall
Declared In
Bit6CallController.h
incomingCallAlert
The message shown in the incoming call system push notification.
@property (nullable, nonatomic, strong) NSString *incomingCallAlert
Declared In
Bit6CallController.h
incomingCallAnswered
The incoming call was answered by using the system push notification.
@property (nonatomic, readonly) BOOL incomingCallAnswered
Declared In
Bit6CallController.h
incomingTransfers
List of incoming Bit6Transfer for the current call.
@property (nonnull, nonatomic, readonly) NSArray<Bit6Transfer*> *incomingTransfers
Declared In
Bit6CallController.h
localStreams
An integer bit mask that indicates the local streams being sent during the call.
@property (nonatomic) Bit6CallStreams localStreams
Declared In
Bit6CallController.h
other
Identity of the other side of the call.
@property (nonnull, nonatomic, strong, readonly) Bit6Address *other
Declared In
Bit6CallController.h
otherDisplayName
Display name of other side of the call.
@property (nonnull, nonatomic, strong) NSString *otherDisplayName
Declared In
Bit6CallController.h
outgoingTransfers
List of outgoing Bit6Transfer for the current call.
@property (nonnull, nonatomic, readonly) NSArray<Bit6OutgoingTransfer*> *outgoingTransfers
Declared In
Bit6CallController.h
Class Methods
audioMuted
The audio is muted for the current call.
+ (BOOL)audioMuted
Declared In
Bit6CallController.h
bluetoothEnabled
The audio from the call is going out through a bluetooth device.
+ (BOOL)bluetoothEnabled
Declared In
Bit6CallController.h
speakerEnabled
The audio from the call is going through the speaker.
+ (BOOL)speakerEnabled
Declared In
Bit6CallController.h
switchBluetooth
Change the audio route from the default one to the available bluetooth device, and vice versa. This will be applied to all the running callControllers.
+ (void)switchBluetooth
Declared In
Bit6CallController.h
switchCamera
Switch between the frontal and rear camera, if available. This will be applied to all the running callControllers.
+ (void)switchCamera
Declared In
Bit6CallController.h
switchMuteAudio
Mute and unmute the microphone in the current call. This will be applied to all the running callControllers.
+ (void)switchMuteAudio
Declared In
Bit6CallController.h
switchMuteVideo
Mute and unmute the video in the current call. This will be applied to all the running callControllers.
+ (void)switchMuteVideo
Declared In
Bit6CallController.h
switchSpeaker
Change the audio route from the default one to the speaker, and vice versa. This will be applied to all the running callControllers.
+ (void)switchSpeaker
Declared In
Bit6CallController.h
Instance Methods
playRingtone
Play the ringtone defined in the incoming push notification payload.
- (void)playRingtone
Declared In
Bit6CallController.h
startTransfer:
Starts the specified Bit6OutgoingTransfer through this call.
- (void)startTransfer:(nonnull Bit6OutgoingTransfer *)transfer
Parameters
- transfer
Bit6OutgoingTransfer to start.
Declared In
Bit6CallController.h