Share via


AVAudioSession.Notifications Class

Definition

Notifications posted by the AVAudioSession class.

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

Remarks

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

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

Methods

Name Description
ObserveAvailableInputsChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AvailableInputsChangeNotification constant.

ObserveAvailableInputsChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AvailableInputsChangeNotification constant.

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.

ObserveMicrophoneInjectionCapabilitiesChange(EventHandler<MicrophoneInjectionCapabilitiesChangeEventArgs>)

Strongly typed notification for the MicrophoneInjectionCapabilitiesChangeNotification constant.

ObserveMicrophoneInjectionCapabilitiesChange(NSObject, EventHandler<MicrophoneInjectionCapabilitiesChangeEventArgs>)

Strongly typed notification for the MicrophoneInjectionCapabilitiesChangeNotification constant.

ObserveOutputMuteStateChange(EventHandler<OutputMuteStateChangeEventArgs>)

Strongly typed notification for the OutputMuteStateChangeNotification constant.

ObserveOutputMuteStateChange(NSObject, EventHandler<OutputMuteStateChangeEventArgs>)

Strongly typed notification for the OutputMuteStateChangeNotification constant.

ObserveRenderingCapabilitiesChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RenderingCapabilitiesChangeNotification constant.

ObserveRenderingCapabilitiesChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the RenderingCapabilitiesChangeNotification constant.

ObserveRenderingModeChange(EventHandler<RenderingModeChangeNotificationEventArgs>)

Strongly typed notification for the RenderingModeChangeNotification constant.

ObserveRenderingModeChange(NSObject, EventHandler<RenderingModeChangeNotificationEventArgs>)

Strongly typed notification for the RenderingModeChangeNotification 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.

ObserveSpatialPlaybackCapabilitiesChanged(EventHandler<SpatialPlaybackCapabilitiesChangedEventArgs>)

Strongly typed notification for the SpatialPlaybackCapabilitiesChangedNotification constant.

ObserveSpatialPlaybackCapabilitiesChanged(NSObject, EventHandler<SpatialPlaybackCapabilitiesChangedEventArgs>)

Strongly typed notification for the SpatialPlaybackCapabilitiesChangedNotification constant.

ObserveUserIntentToUnmuteOutput(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserIntentToUnmuteOutputNotification constant.

ObserveUserIntentToUnmuteOutput(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserIntentToUnmuteOutputNotification constant.

Applies to