AVAudioSession.Notifications Class

Definition

Notification posted by the AVAudioSession class.

public static class AVAudioSession.Notifications
type AVAudioSession.Notifications = class
Inheritance
AVAudioSession.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveInterruption(EventHandler<AVAudioSessionInterruptionEventArgs>)

Strongly typed notification for the InterruptionNotification constant.

ObserveInterruption(NSObject, EventHandler<AVAudioSessionInterruptionEventArgs>)

Strongly typed notification for the InterruptionNotification constant.

ObserveMediaServicesWereLost(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereLostNotification constant.

ObserveMediaServicesWereLost(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereLostNotification constant.

ObserveMediaServicesWereReset(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereResetNotification constant.

ObserveMediaServicesWereReset(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereResetNotification constant.

ObserveRouteChange(EventHandler<AVAudioSessionRouteChangeEventArgs>)

Strongly typed notification for the RouteChangeNotification constant.

ObserveRouteChange(NSObject, EventHandler<AVAudioSessionRouteChangeEventArgs>)

Strongly typed notification for the RouteChangeNotification constant.

ObserveSilenceSecondaryAudioHint(EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Strongly typed notification for the SilenceSecondaryAudioHintNotification constant.

ObserveSilenceSecondaryAudioHint(NSObject, EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Strongly typed notification for the SilenceSecondaryAudioHintNotification constant.

Applies to