BLCall
public class BLCall : NSObject
The BLCall class represents a signaling and media session between the host device and Boostlingo infrastructure.
-
A server assigned identifier for the Call.
Declaration
Swift
public internal(set) var callId: Int? { get }
-
A server assigned identifier for the current user.
Declaration
Swift
public let currentUserId: Int
-
Returns true if this is a video call, false otherwise.
Declaration
Swift
public var isVideo: Bool { get }
-
Returns true if the Call is in In Progress state.
Declaration
Swift
public var isInProgress: Bool { get }
-
Property that defines interpreter information for the Call.
Declaration
Swift
public var interlocutorInfo: BLParticipant? { get }
-
Property that defines if the Call is muted.
Declaration
Swift
public var isMuted: Bool { get set }
-
Property that defines the twilio access token.
Declaration
Swift
public private(set) var accessToken: String? { get }
-
Property that defines the twilio identity.
Declaration
Swift
public private(set) var identity: String? { get }
-
Defines the list of remote participants joined the call.
Declaration
Swift
public private(set) var participants: [BLParticipant] { get }
-
Property that defines if a third party can be added to the Call.
Declaration
Swift
public var canAddThirdParty: Bool { get }
-
Used to dial a third-party participant with the phone number specified.
Declaration
Swift
public func dialThirdParty(phone: String, completion: @escaping (Error?) -> Void)
Parameters
phone
Phone number.
completion
Completion callback.
-
Used to remove a participant with the identity specified from the current call.
Declaration
Swift
public func hangupThirdPartyParticipant(identity: String, completion: @escaping (Error?) -> Void)
Parameters
identity
Participant identity.
completion
Completion callback.
-
Used to mute/unmute a participant with the identity specified from the current call.
Declaration
Swift
public func muteThirdPartyParticipant(identity: String, mute: Bool, completion: @escaping (Error?) -> Void)
Parameters
identity
Participant identity.
mute
Mute.
completion
Completion callback.
-
Accepts/rejects the third party participant joining by the link.
Declaration
Swift
public func confirmThirdPartyParticipant(identity: String, confirm: Bool, completion: @escaping (Error?) -> Void)
Parameters
identity
Participant identity.
confirm
Accept/reject.
completion
Completion callback.