PhoneCallAgent

Constructors

Link copied to clipboard
fun PhoneCallAgent(    client: PhoneCallClient,     contextStateProviderRegistry: ContextStateProviderRegistry,     contextGetter: ContextGetterInterface,     messageSender: MessageSender,     focusManager: FocusManagerInterface,     channelName: String,     focusObserver: ChannelObserver? = null,     enableSendEvent: Boolean = true,     directiveSequencer: DirectiveSequencerInterface,     interactionControlManager: InteractionControlManagerInterface)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class StateContext(val context: Context) : BaseContextState

Functions

Link copied to clipboard
open override fun acceptCall(payload: AcceptCallPayload)
Link copied to clipboard
fun acquireFocus()
Link copied to clipboard
open override fun blockIncomingCall(payload: BlockIncomingCallPayload)
Link copied to clipboard
open override fun blockNumber(payload: BlockNumberPayload)
Link copied to clipboard
open override fun endCall(payload: EndCallPayload)
Link copied to clipboard
open override fun makeCall(payload: MakeCallPayload, callback: MakeCallDirectiveHandler.Callback)
Link copied to clipboard
open override fun onEstablished(playServiceId: String)
Link copied to clipboard
open override fun onFocusChanged(newFocus: FocusState)
Link copied to clipboard
open override fun onIdle(playServiceId: String)
Link copied to clipboard
open override fun onIncoming(playServiceId: String, caller: Caller)
Link copied to clipboard
open override fun onOutgoing()
Link copied to clipboard
open override fun provideState(    contextSetter: ContextSetterInterface,     namespaceAndName: NamespaceAndName,     contextType: ContextType,     stateRequestToken: Int)
Link copied to clipboard
fun releaseFocus()
Link copied to clipboard
open override fun sendCandidates(payload: SendCandidatesPayload, callback: SendCandidatesDirectiveHandler.Callback)

Properties

Link copied to clipboard
open override val namespaceAndName: NamespaceAndName