AVAudioSession.Notifications Classe

Definizione

Notifica inviata dalla AVAudioSession classe .

public static class AVAudioSession.Notifications
type AVAudioSession.Notifications = class
Ereditarietà
AVAudioSession.Notifications

Commenti

Si tratta di una classe statica che contiene vari metodi helper che consentono agli sviluppatori di osservare gli eventi pubblicati nell'hub di notifica iOS (NSNotificationCenter).

I metodi definiti in questa classe post-eventi richiamano il metodo o l'espressione lambda forniti con un NSNotificationEventArgs parametro che contiene proprietà fortemente tipizzate per gli argomenti di notifica.

Metodi

ObserveInterruption(EventHandler<AVAudioSessionInterruptionEventArgs>)

Notifica fortemente tipizzata per la InterruptionNotification costante.

ObserveInterruption(NSObject, EventHandler<AVAudioSessionInterruptionEventArgs>)

Notifica fortemente tipizzata per la InterruptionNotification costante.

ObserveMediaServicesWereLost(EventHandler<NSNotificationEventArgs>)

Notifica fortemente tipizzata per la MediaServicesWereLostNotification costante.

ObserveMediaServicesWereLost(NSObject, EventHandler<NSNotificationEventArgs>)

Notifica fortemente tipizzata per la MediaServicesWereLostNotification costante.

ObserveMediaServicesWereReset(EventHandler<NSNotificationEventArgs>)

Notifica fortemente tipizzata per la MediaServicesWereResetNotification costante.

ObserveMediaServicesWereReset(NSObject, EventHandler<NSNotificationEventArgs>)

Notifica fortemente tipizzata per la MediaServicesWereResetNotification costante.

ObserveRouteChange(EventHandler<AVAudioSessionRouteChangeEventArgs>)

Notifica fortemente tipizzata per la RouteChangeNotification costante.

ObserveRouteChange(NSObject, EventHandler<AVAudioSessionRouteChangeEventArgs>)

Notifica fortemente tipizzata per la RouteChangeNotification costante.

ObserveSilenceSecondaryAudioHint(EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Notifica fortemente tipizzata per la SilenceSecondaryAudioHintNotification costante.

ObserveSilenceSecondaryAudioHint(NSObject, EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Notifica fortemente tipizzata per la SilenceSecondaryAudioHintNotification costante.

Si applica a