Package apple.avfoundation.protocol
Interface AVAudioSessionDelegate
-
public interface AVAudioSessionDelegateThe AVAudioSessionDelegate protocol is deprecated. Instead you should register for notifications.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidbeginInterruption()something has caused your audio session to be interrupteddefault voidendInterruption()endInterruptionWithFlags: will be called instead if implemented.default voidendInterruptionWithFlags(long flags)Currently the only flag is AVAudioSessionInterruptionFlags_ShouldResume.default voidinputIsAvailableChanged(boolean isInputAvailable)notification for input become available or unavailable
-
-
-
Method Detail
-
beginInterruption
default void beginInterruption()
something has caused your audio session to be interrupted
-
endInterruption
default void endInterruption()
endInterruptionWithFlags: will be called instead if implemented.
-
endInterruptionWithFlags
default void endInterruptionWithFlags(long flags)
Currently the only flag is AVAudioSessionInterruptionFlags_ShouldResume.
-
inputIsAvailableChanged
default void inputIsAvailableChanged(boolean isInputAvailable)
notification for input become available or unavailable
-
-