Compartilhar via


GKMatchmaker.CancelInvite(String) Método

Definição

Os desenvolvedores não devem usar esse método preterido. Em vez disso, os desenvolvedores devem usar 'CancelPendingInvite'.

[Foundation.Export("cancelInviteToPlayer:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'CancelPendingInvite' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'CancelPendingInvite' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void CancelInvite (string playerID);
abstract member CancelInvite : string -> unit
override this.CancelInvite : string -> unit

Parâmetros

playerID
String
Atributos

Aplica-se a