public interface CXProviderDelegate
| Modifier and Type | Method and Description |
|---|---|
default void |
providerDidActivateAudioSession(CXProvider provider,
AVAudioSession audioSession)
Called when the provider's audio session activation state changes.
|
default void |
providerDidBegin(CXProvider provider)
Called when the provider has been fully created and is ready to send actions and receive updates
|
default void |
providerDidDeactivateAudioSession(CXProvider provider,
AVAudioSession audioSession) |
void |
providerDidReset(CXProvider provider)
Called when the provider has been reset.
|
default boolean |
providerExecuteTransaction(CXProvider provider,
CXTransaction transaction)
Called whenever a new transaction should be executed.
|
default void |
providerPerformAnswerCallAction(CXProvider provider,
CXAnswerCallAction action) |
default void |
providerPerformEndCallAction(CXProvider provider,
CXEndCallAction action) |
default void |
providerPerformPlayDTMFCallAction(CXProvider provider,
CXPlayDTMFCallAction action) |
default void |
providerPerformSetGroupCallAction(CXProvider provider,
CXSetGroupCallAction action) |
default void |
providerPerformSetHeldCallAction(CXProvider provider,
CXSetHeldCallAction action) |
default void |
providerPerformSetMutedCallAction(CXProvider provider,
CXSetMutedCallAction action) |
default void |
providerPerformStartCallAction(CXProvider provider,
CXStartCallAction action)
If provider:executeTransaction:error: returned NO, each perform*CallAction method is called sequentially for each action in the transaction
|
default void |
providerTimedOutPerformingAction(CXProvider provider,
CXAction action)
Called when an action was not performed in time and has been inherently failed.
|
default void providerDidActivateAudioSession(CXProvider provider, AVAudioSession audioSession)
default void providerDidDeactivateAudioSession(CXProvider provider, AVAudioSession audioSession)
default boolean providerExecuteTransaction(CXProvider provider, CXTransaction transaction)
- NO: the transaction was not handled indicating that the perform*CallAction methods should be called sequentially for each action in the transaction - YES: the transaction was handled and the perform*CallAction methods should not be called sequentially
If the method is not implemented, NO is assumed.
default void providerPerformAnswerCallAction(CXProvider provider, CXAnswerCallAction action)
default void providerPerformEndCallAction(CXProvider provider, CXEndCallAction action)
default void providerPerformPlayDTMFCallAction(CXProvider provider, CXPlayDTMFCallAction action)
default void providerPerformSetGroupCallAction(CXProvider provider, CXSetGroupCallAction action)
default void providerPerformSetHeldCallAction(CXProvider provider, CXSetHeldCallAction action)
default void providerPerformSetMutedCallAction(CXProvider provider, CXSetMutedCallAction action)
default void providerPerformStartCallAction(CXProvider provider, CXStartCallAction action)
default void providerTimedOutPerformingAction(CXProvider provider, CXAction action)
default void providerDidBegin(CXProvider provider)
void providerDidReset(CXProvider provider)