Compartir a través de


AVAudioSession.Notifications Clase

Definición

Notificación publicada por la AVAudioSession clase .

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

Comentarios

Se trata de una clase estática que contiene varios métodos auxiliares que permiten a los desarrolladores observar eventos publicados en el centro de notificaciones de iOS (NSNotificationCenter).

Los métodos definidos en esta clase publican eventos invocan el método proporcionado o lambda con un NSNotificationEventArgs parámetro que contiene propiedades fuertemente tipadas para los argumentos de notificación.

Métodos

ObserveInterruption(EventHandler<AVAudioSessionInterruptionEventArgs>)

Notificación fuertemente tipada para la InterruptionNotification constante.

ObserveInterruption(NSObject, EventHandler<AVAudioSessionInterruptionEventArgs>)

Notificación fuertemente tipada para la InterruptionNotification constante.

ObserveMediaServicesWereLost(EventHandler<NSNotificationEventArgs>)

Notificación fuertemente tipada para la MediaServicesWereLostNotification constante.

ObserveMediaServicesWereLost(NSObject, EventHandler<NSNotificationEventArgs>)

Notificación fuertemente tipada para la MediaServicesWereLostNotification constante.

ObserveMediaServicesWereReset(EventHandler<NSNotificationEventArgs>)

Notificación fuertemente tipada para la MediaServicesWereResetNotification constante.

ObserveMediaServicesWereReset(NSObject, EventHandler<NSNotificationEventArgs>)

Notificación fuertemente tipada para la MediaServicesWereResetNotification constante.

ObserveRouteChange(EventHandler<AVAudioSessionRouteChangeEventArgs>)

Notificación fuertemente tipada para la RouteChangeNotification constante.

ObserveRouteChange(NSObject, EventHandler<AVAudioSessionRouteChangeEventArgs>)

Notificación fuertemente tipada para la RouteChangeNotification constante.

ObserveSilenceSecondaryAudioHint(EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Notificación fuertemente tipada para la SilenceSecondaryAudioHintNotification constante.

ObserveSilenceSecondaryAudioHint(NSObject, EventHandler<AVAudioSessionSecondaryAudioHintEventArgs>)

Notificación fuertemente tipada para la SilenceSecondaryAudioHintNotification constante.

Se aplica a