AVAudioSession.Notifications Classe

Définition

Notification publiée par la AVAudioSession classe.

public static class AVAudioSession.Notifications
type AVAudioSession.Notifications = class
Héritage
AVAudioSession.Notifications

Remarques

Il s’agit d’une classe statique qui contient diverses méthodes d’assistance qui permettent aux développeurs d’observer les événements publiés dans le hub de notification iOS (NSNotificationCenter).

Les méthodes définies dans cette classe post-événements appellent la méthode ou lambda fournie avec un NSNotificationEventArgs paramètre qui contient des propriétés fortement typées pour les arguments de notification.

Méthodes

ObserveInterruption(EventHandler<AVAudioSessionInterruptionEventArgs>)

Notification fortement typée pour la InterruptionNotification constante.

ObserveInterruption(NSObject, EventHandler<AVAudioSessionInterruptionEventArgs>)

Notification fortement typée pour la InterruptionNotification constante.

ObserveMediaServicesWereLost(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la MediaServicesWereLostNotification constante.

ObserveMediaServicesWereLost(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la MediaServicesWereLostNotification constante.

ObserveMediaServicesWereReset(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la MediaServicesWereResetNotification constante.

ObserveMediaServicesWereReset(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la MediaServicesWereResetNotification constante.

ObserveRouteChange(EventHandler<AVAudioSessionRouteChangeEventArgs>)

Notification fortement typée pour la RouteChangeNotification constante.

ObserveRouteChange(NSObject, EventHandler<AVAudioSessionRouteChangeEventArgs>)

Notification fortement typée pour la RouteChangeNotification constante.

ObserveSilenceSecondaryAudioHint(EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Notification fortement typée pour la SilenceSecondaryAudioHintNotification constante.

ObserveSilenceSecondaryAudioHint(NSObject, EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Notification fortement typée pour la SilenceSecondaryAudioHintNotification constante.

S’applique à