RTCAudioSessionActivationDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | RTCAudioSession.h |
Overview
This is a protocol used to inform RTCAudioSession when the audio session activation state has changed outside of RTCAudioSession. The current known use case of this is when CallKit activates the audio session for the application
– audioSessionDidActivate:
required method
Called when the audio session is activated outside of the app by iOS.
- (void)audioSessionDidActivate:(AVAudioSession *)session
Discussion
Called when the audio session is activated outside of the app by iOS.
Declared In
RTCAudioSession.h
– audioSessionDidDeactivate:
required method
Called when the audio session is deactivated outside of the app by iOS.
- (void)audioSessionDidDeactivate:(AVAudioSession *)session
Discussion
Called when the audio session is deactivated outside of the app by iOS.
Declared In
RTCAudioSession.h