Bit6CallController Class Reference
| Inherits from | NSObject |
| Declared in | Bit6CallController.h |
Tasks
Call Properties
-
callStateproperty -
otherDisplayNameproperty -
incomingCallproperty -
incomingCallAnsweredproperty -
incomingCallAlertproperty -
errorproperty -
otherproperty -
localStreamsproperty -
remoteStreamsproperty -
hasAudioproperty -
hasVideoproperty -
hasDataproperty -
hasRemoteAudioproperty -
hasRemoteVideoproperty -
hasRemoteDataproperty -
secondsproperty -
+ speakerEnabled -
+ bluetoothEnabled -
+ audioMuted -
+ videoMuted -
+ usingRearCamera -
outgoingTransfersproperty -
incomingTransfersproperty
Actions
Properties
callState
Call status as a value of the Bit6MessageStatus enumeration.
@property (nonatomic, readonly) Bit6CallState callStateDiscussion
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.herror
The latest error to occur during the call.
@property (nullable, nonatomic, strong, readonly) NSError *errorDeclared In
Bit6CallController.hhasAudio
The local streams being sent include an audio track.
@property (nonatomic, readonly) BOOL hasAudioDeclared In
Bit6CallController.hhasData
The local streams being sent include support for data transfer.
@property (nonatomic, readonly) BOOL hasDataDeclared In
Bit6CallController.hhasRemoteAudio
The remote streams being received include an audio track.
@property (nonatomic, readonly) BOOL hasRemoteAudioDeclared In
Bit6CallController.hhasRemoteData
The remote streams being received include support for data transfer.
@property (nonatomic, readonly) BOOL hasRemoteDataDeclared In
Bit6CallController.hhasRemoteVideo
The remote streams being received include a video track.
@property (nonatomic, readonly) BOOL hasRemoteVideoDeclared In
Bit6CallController.hhasVideo
The local streams being sent include a video track.
@property (nonatomic, readonly) BOOL hasVideoDeclared In
Bit6CallController.hincomingCall
The call is an incoming call.
@property (nonatomic, readonly) BOOL incomingCallDeclared In
Bit6CallController.hincomingCallAlert
The message shown in the incoming call system push notification.
@property (nullable, nonatomic, strong) NSString *incomingCallAlertDeclared In
Bit6CallController.hincomingCallAnswered
The incoming call was answered by using the system push notification.
@property (nonatomic, readonly) BOOL incomingCallAnsweredDeclared In
Bit6CallController.hincomingTransfers
List of incoming Bit6Transfer for the current call.
@property (nonnull, nonatomic, readonly) NSArray<Bit6Transfer*> *incomingTransfersDeclared In
Bit6CallController.hlocalStreams
An integer bit mask that indicates the local streams being sent during the call.
@property (nonatomic) Bit6CallStreams localStreamsDeclared In
Bit6CallController.hother
Identity of the other side of the call.
@property (nonnull, nonatomic, strong, readonly) Bit6Address *otherDeclared In
Bit6CallController.hotherDisplayName
Display name of other side of the call.
@property (nonnull, nonatomic, strong) NSString *otherDisplayNameDeclared In
Bit6CallController.houtgoingTransfers
List of outgoing Bit6Transfer for the current call.
@property (nonnull, nonatomic, readonly) NSArray<Bit6OutgoingTransfer*> *outgoingTransfersDeclared In
Bit6CallController.hClass Methods
audioMuted
The audio is muted for the current call.
+ (BOOL)audioMutedDeclared In
Bit6CallController.hbluetoothEnabled
The audio from the call is going out through a bluetooth device.
+ (BOOL)bluetoothEnabledDeclared In
Bit6CallController.hspeakerEnabled
The audio from the call is going through the speaker.
+ (BOOL)speakerEnabledDeclared In
Bit6CallController.hswitchBluetooth
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)switchBluetoothDeclared In
Bit6CallController.hswitchCamera
Switch between the frontal and rear camera, if available. This will be applied to all the running callControllers.
+ (void)switchCameraDeclared In
Bit6CallController.hswitchMuteAudio
Mute and unmute the microphone in the current call. This will be applied to all the running callControllers.
+ (void)switchMuteAudioDeclared In
Bit6CallController.hswitchMuteVideo
Mute and unmute the video in the current call. This will be applied to all the running callControllers.
+ (void)switchMuteVideoDeclared In
Bit6CallController.hswitchSpeaker
Change the audio route from the default one to the speaker, and vice versa. This will be applied to all the running callControllers.
+ (void)switchSpeakerDeclared In
Bit6CallController.hInstance Methods
playRingtone
Play the ringtone defined in the incoming push notification payload.
- (void)playRingtoneDeclared In
Bit6CallController.hstartTransfer:
Starts the specified Bit6OutgoingTransfer through this call.
- (void)startTransfer:(nonnull Bit6OutgoingTransfer *)transferParameters
- transfer
Bit6OutgoingTransfer to start.
Declared In
Bit6CallController.h