BLCall
public protocol BLCall : Sendable
The BLCall entity represents a signaling and media session between the host device and Boostlingo infrastructure.
-
callId
AsynchronousA server assigned identifier for the Call.
Declaration
Swift
var callId: Int? { get async }
-
A server assigned identifier for the current user.
Declaration
Swift
var currentUserId: Int { get }
-
Returns true if this is a video call, false otherwise.
Declaration
Swift
var isVideo: Bool { get }
-
isInProgress
AsynchronousReturns true if the Call is in In Progress state.
Declaration
Swift
var isInProgress: Bool { get async }
-
interlocutorInfo
AsynchronousProperty that defines interpreter information for the Call.
Declaration
Swift
var interlocutorInfo: BLParticipant? { get async }
-
accessToken
AsynchronousProperty that defines the twilio access token.
Declaration
Swift
var accessToken: String? { get async }
-
identity
AsynchronousProperty that defines the twilio identity.
Declaration
Swift
var identity: String? { get async }
-
participants
AsynchronousDefines the list of remote participants joined the call.
Declaration
Swift
var participants: [BLParticipant] { get async }
-
canAddThirdParty
AsynchronousProperty that defines if a third party can be added to the Call.
Declaration
Swift
var canAddThirdParty: Bool { get async }
-
getIsMuted()
AsynchronousMethod that defines if the Call is muted.
Declaration
Swift
func getIsMuted() async -> Bool
-
setIsMuted(_:
Asynchronous) Method that defines if the Call is muted.
Declaration
Swift
func setIsMuted(_ isMuted: Bool) async
-
dialThirdParty(phone:
Asynchronous) Used to dial a third-party participant with the phone number specified.
Declaration
Swift
func dialThirdParty(phone: String) async throws
Parameters
phone
Phone number.
-
hangupThirdPartyParticipant(identity:
Asynchronous) Used to remove a participant with the identity specified from the current call.
Declaration
Swift
func hangupThirdPartyParticipant(identity: String) async throws
Parameters
identity
Participant identity.
-
muteThirdPartyParticipant(identity:
Asynchronousmute: ) Used to mute/unmute a participant with the identity specified from the current call.
Declaration
Swift
func muteThirdPartyParticipant( identity: String, mute: Bool ) async throws
Parameters
identity
Participant identity.
mute
Mute.
-
confirmThirdPartyParticipant(identity:
Asynchronousconfirm: ) Accepts/rejects the third party participant joining by the link.
Declaration
Swift
func confirmThirdPartyParticipant( identity: String, confirm: Bool ) async throws
Parameters
identity
Participant identity.
confirm
Accept/reject.