編輯

共用方式為


GKGameSessionErrorCodeExtensions Class

Definition

Extension methods for the GameKit.GKGameSessionErrorCode enumeration.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static class GKGameSessionErrorCodeExtensions
type GKGameSessionErrorCodeExtensions = class
Inheritance
GKGameSessionErrorCodeExtensions
Attributes

Remarks

The extension method for the GameKit.GKGameSessionErrorCode enumeration can be used to fetch the error domain associated with these error codes.

Methods

GetDomain(GKGameSessionErrorCode)

Returns the error domain associated with the GameKit.GKGameSessionErrorCode value

Applies to