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 moreDeclaration
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
optionsThe 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
remoteOptionsRemoteOptions used to send to ACS to locate the call.
localOptionsLocalOptions 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
remoteParticipantViewDataParticipantViewData used to set the participant’s information for the call.
identifierThe communication identifier for the remote participant.
completionHandlerThe completion handler that receives
Resultenum value with either aVoidor anSetParticipantViewDataError.
View on GitHub
CallComposite Class Reference