Partager via


MPMusicPlayerController.Notifications Classe

Définition

Notification publiée par la MPMusicPlayerController classe.

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

Remarques

Il s’agit d’une classe statique qui contient différentes 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

ObserveNowPlayingItemDidChange(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la NowPlayingItemDidChangeNotification constante.

ObserveNowPlayingItemDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la NowPlayingItemDidChangeNotification constante.

ObservePlaybackStateDidChange(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la PlaybackStateDidChangeNotification constante.

ObservePlaybackStateDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la PlaybackStateDidChangeNotification constante.

ObserveVolumeDidChange(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la VolumeDidChangeNotification constante.

ObserveVolumeDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la VolumeDidChangeNotification constante.

S’applique à