共用方式為


GKLocalPlayer.Notifications 類別

定義

類別所張貼的 GKLocalPlayer 通知。

public static class GKLocalPlayer.Notifications
type GKLocalPlayer.Notifications = class
繼承
GKLocalPlayer.Notifications

備註

這是靜態類別,其中包含各種協助程式方法,可讓開發人員觀察在 iOS 通知中樞張貼的事件 (NSNotificationCenter) 。

這個類別中定義的方法會在事件後叫用提供的 方法或 Lambda,其中包含 NSNotificationEventArgs 通知引數的強型別屬性。

方法

ObserveAuthenticationDidChangeNotificationName(EventHandler<NSNotificationEventArgs>)

P:GameKit.GKLocalPlayer.AuthenticationDidChangeNotificationNameNotification常數的強型別通知。

ObserveAuthenticationDidChangeNotificationName(NSObject, EventHandler<NSNotificationEventArgs>)

P:GameKit.GKLocalPlayer.AuthenticationDidChangeNotificationNameNotification常數的強型別通知。

適用於