CallComposite

public class CallComposite

The main class representing the entry point for the Call Composite.

  • The class to configure events closures for Call Composite.

    See more

    Declaration

    Swift

    public class Events
  • The events handler for Call Composite

    Declaration

    Swift

    public let events: Events
  • Get debug information for the Call Composite.

    Declaration

    Swift

    public var debugInfo: DebugInfo { get }
  • Get call state for the Call Composite.

    Declaration

    Swift

    public var callState: CallState { get }
  • Create an instance of CallComposite with options.

    Declaration

    Swift

    public init(withOptions options: CallCompositeOptions? = nil)

    Parameters

    options

    The CallCompositeOptions used to configure the experience.

  • Dismiss call composite. If call is in progress, user will leave a call.

    Declaration

    Swift

    public func dismiss()
  • Start Call Composite experience with joining a Teams meeting.

    Declaration

    Swift

    public func launch(remoteOptions: RemoteOptions,
                       localOptions: LocalOptions? = nil)

    Parameters

    remoteOptions

    RemoteOptions used to send to ACS to locate the call.

    localOptions

    LocalOptions used to set the user participants information for the call. This is data is not sent up to ACS.

  • Set ParticipantViewData to be displayed for the remote participant. This is data is not sent up to ACS.

    Declaration

    Swift

    public func set(remoteParticipantViewData: ParticipantViewData,
                    for identifier: CommunicationIdentifier,
                    completionHandler: ((Result<Void, SetParticipantViewDataError>) -> Void)? = nil)

    Parameters

    remoteParticipantViewData

    ParticipantViewData used to set the participant’s information for the call.

    identifier

    The communication identifier for the remote participant.

    completionHandler

    The completion handler that receives Result enum value with either a Void or an SetParticipantViewDataError.