Share via


AVAudioSessionDelegate_Extensions Class

Definition

Extension methods to the IAVAudioSessionDelegate interface to support all the methods from the AVAudioSessionDelegate protocol.

public static class AVAudioSessionDelegate_Extensions
type AVAudioSessionDelegate_Extensions = class
Inheritance
AVAudioSessionDelegate_Extensions

Remarks

The extension methods for IAVAudioSessionDelegate interface allow developers to treat instances of the interface as having all the optional methods of the original AVAudioSessionDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

BeginInterruption(IAVAudioSessionDelegate)

Developers can override this method to react to interruptions of an audio session.

EndInterruption(IAVAudioSessionDelegate, AVAudioSessionInterruptionOptions)

Developers can override this method to react to the end of an interruption of an audio session.

EndInterruption(IAVAudioSessionDelegate)

Developers can override this method to react to the end of an interruption of an audio session.

InputIsAvailableChanged(IAVAudioSessionDelegate, Boolean)

Developers can override this method to react to a change in availability of audio inputs.

Applies to