Düzenle

Aracılığıyla paylaş


GKLocalPlayer.Notifications Class

Definition

Notification posted by the GKLocalPlayer class.

public static class GKLocalPlayer.Notifications
type GKLocalPlayer.Notifications = class
Inheritance
GKLocalPlayer.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveAuthenticationDidChangeNotificationName(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:GameKit.GKLocalPlayer.AuthenticationDidChangeNotificationNameNotification constant.

ObserveAuthenticationDidChangeNotificationName(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:GameKit.GKLocalPlayer.AuthenticationDidChangeNotificationNameNotification constant.

Applies to