AVAudioSession.Notifications AVAudioSession.Notifications Class

Definition

Notification posted by the AVAudioSession class.

public static class AVAudioSession.Notifications
type AVAudioSession.Notifications = class
Inheritance
AVAudioSession.NotificationsAVAudioSession.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>) ObserveInterruption(EventHandler<AVAudioSessionInterruptionEventArgs>)

Strongly typed notification for the InterruptionNotification constant.

ObserveInterruption(NSObject, EventHandler<AVAudioSessionInterruptionEventArgs>) ObserveInterruption(NSObject, EventHandler<AVAudioSessionInterruptionEventArgs>)

Strongly typed notification for the InterruptionNotification constant.

ObserveMediaServicesWereLost(EventHandler<NSNotificationEventArgs>) ObserveMediaServicesWereLost(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereLostNotification constant.

ObserveMediaServicesWereLost(NSObject, EventHandler<NSNotificationEventArgs>) ObserveMediaServicesWereLost(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereLostNotification constant.

ObserveMediaServicesWereReset(EventHandler<NSNotificationEventArgs>) ObserveMediaServicesWereReset(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereResetNotification constant.

ObserveMediaServicesWereReset(NSObject, EventHandler<NSNotificationEventArgs>) ObserveMediaServicesWereReset(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MediaServicesWereResetNotification constant.

ObserveRouteChange(EventHandler<AVAudioSessionRouteChangeEventArgs>) ObserveRouteChange(EventHandler<AVAudioSessionRouteChangeEventArgs>)

Strongly typed notification for the RouteChangeNotification constant.

ObserveRouteChange(NSObject, EventHandler<AVAudioSessionRouteChangeEventArgs>) ObserveRouteChange(NSObject, EventHandler<AVAudioSessionRouteChangeEventArgs>)

Strongly typed notification for the RouteChangeNotification constant.

ObserveSilenceSecondaryAudioHint(EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>) ObserveSilenceSecondaryAudioHint(EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Strongly typed notification for the SilenceSecondaryAudioHintNotification constant.

ObserveSilenceSecondaryAudioHint(NSObject, EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>) ObserveSilenceSecondaryAudioHint(NSObject, EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Strongly typed notification for the SilenceSecondaryAudioHintNotification constant.

Applies to