Partager via


GKLocalPlayer.Notifications Classe

Définition

Notification publiée par la GKLocalPlayer classe.

public static class GKLocalPlayer.Notifications
type GKLocalPlayer.Notifications = class
Héritage
GKLocalPlayer.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

ObserveAuthenticationDidChangeNotificationName(EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la constante P:GameKit.GKLocalPlayer.AuthenticationDidChangeNotificationNameNotification .

ObserveAuthenticationDidChangeNotificationName(NSObject, EventHandler<NSNotificationEventArgs>)

Notification fortement typée pour la constante P:GameKit.GKLocalPlayer.AuthenticationDidChangeNotificationNameNotification .

S’applique à