TVIAudioController(CallKit) Category Reference
Declared in | TVIAudioController.h |
---|
Overview
CallKit specific additions. You should not call these methods unless your app is using CallKit.
– configureAudioSession:
Configures, but does not activate the AVAudioSession
.
- (void)configureAudioSession:(TVIAudioOutput)audioOutput
Parameters
audioOutput |
The audio output. |
---|
Discussion
If you are using CallKit, you must call this API before reporting a new incoming/outgoing call to CallKit or in CXProviderDelegate’s provider:performStartCallAction: or provider:performAnswerCallAction:. If you are not using CallKit then this method will be invoked on your behalf by the SDK.
Declared In
TVIAudioController.h
– startAudio
Starts the audio device.
- (BOOL)startAudio
Return Value
YES
if the starting audio succeeds, and NO
if it fails.
Discussion
If you are using CallKit, you must call this API on CXProviderDelegate’s provider:didActivateAudioSession:. and hold action provider:performSetHeldCallAction: method. If you are not using CallKit then this method will be invoked on your behalf by the SDK.
Declared In
TVIAudioController.h
– stopAudio
Stops the audio device.
- (void)stopAudio
Discussion
If you are using CallKit, you must call this API on CXProviderDelegate’s providerDidReset:, unhold action provider:performSetHeldCallAction: and provider:performEndCallAction: method. If you are not using CallKit then this method will be invoked on your behalf by the SDK.
Declared In
TVIAudioController.h