BLCall

public protocol BLCall : Sendable

The BLCall entity represents a signaling and media session between the host device and Boostlingo infrastructure.

  • callId Asynchronous

    A 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 Asynchronous

    Returns true if the Call is in In Progress state.

    Declaration

    Swift

    var isInProgress: Bool { get async }
  • interlocutorInfo Asynchronous

    Property that defines interpreter information for the Call.

    Declaration

    Swift

    var interlocutorInfo: BLParticipant? { get async }
  • accessToken Asynchronous

    Property that defines the twilio access token.

    Declaration

    Swift

    var accessToken: String? { get async }
  • identity Asynchronous

    Property that defines the twilio identity.

    Declaration

    Swift

    var identity: String? { get async }
  • participants Asynchronous

    Defines the list of remote participants joined the call.

    Declaration

    Swift

    var participants: [BLParticipant] { get async }
  • canAddThirdParty Asynchronous

    Property that defines if a third party can be added to the Call.

    Declaration

    Swift

    var canAddThirdParty: Bool { get async }
  • getIsMuted() Asynchronous

    Method 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.

  • 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.

  • 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.

  • 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.