編輯

共用方式為


GKGameSession.DidChangeConnectionState Method

Definition

Caution

Empty stub (GKGameSessionEventListenerPrivate category members are not public API).

[System.Obsolete("Empty stub (GKGameSessionEventListenerPrivate category members are not public API).")]
public static void DidChangeConnectionState (GameKit.GKGameSession session, GameKit.GKCloudPlayer player, GameKit.GKConnectionState newState);
[Foundation.Export("postSession:player:didChangeConnectionState:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, 4, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 3, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DidChangeConnectionState (GameKit.GKGameSession session, GameKit.GKCloudPlayer player, GameKit.GKConnectionState newState);
static member DidChangeConnectionState : GameKit.GKGameSession * GameKit.GKCloudPlayer * GameKit.GKConnectionState -> unit

Parameters

session
GKGameSession
player
GKCloudPlayer
Attributes

Applies to