共用方式為


GKMatchmaker.CancelInvite(String) 方法

定義

開發人員不應該使用此已被取代的方法。 開發人員應該改用 '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

參數

playerID
String
屬性

適用於