GKMatchmakerViewController.SetHostedPlayerConnected Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
SetHostedPlayerConnected(GKPlayer, Boolean) | |
SetHostedPlayerConnected(String, Boolean) |
SetHostedPlayerConnected(GKPlayer, Boolean)
[Foundation.Export("setHostedPlayer:didConnect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetHostedPlayerConnected (GameKit.GKPlayer playerID, bool connected);
abstract member SetHostedPlayerConnected : GameKit.GKPlayer * bool -> unit
override this.SetHostedPlayerConnected : GameKit.GKPlayer * bool -> unit
Parametri
- playerID
- GKPlayer
- connected
- Boolean
- Attributi
Si applica a
SetHostedPlayerConnected(String, Boolean)
[Foundation.Export("setHostedPlayer:connected:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetHostedPlayerConnected (GKPlayer,bool)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetHostedPlayerConnected (GKPlayer,bool)' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetHostedPlayerConnected (string playerID, bool connected);
abstract member SetHostedPlayerConnected : string * bool -> unit
override this.SetHostedPlayerConnected : string * bool -> unit
Parametri
- playerID
- String
- connected
- Boolean
- Attributi