GKGameSession
GKGameSession()
GKGameSession(IntPtr)
GKGameSession(NativeHandle)
GKGameSession(NSObjectFlag)
BadgedPlayers
ClassHandle
Identifier
LastModifiedDate
LastModifiedPlayer
MaxNumberOfConnectedPlayers
Owner
Players
Title
AddEventListener(IGKGameSessionEventListener)
ClearBadge(GKCloudPlayer[], Action<NSError>)
ClearBadgeAsync(GKCloudPlayer[])
CreateSession(String, String, nint, Action<GKGameSession, NSError>)
CreateSession(String, String, nint, Action<GKGameSession, NSError>)
CreateSessionAsync(String, String, nint)
CreateSessionAsync(String, String, nint)
DidAddPlayer(GKGameSession, GKCloudPlayer)
DidChangeConnectionState(GKGameSession, GKCloudPlayer, GKConnectionState)
DidReceiveData(GKGameSession, NSData, GKCloudPlayer)
DidReceiveMessage(GKGameSession, String, NSData, GKCloudPlayer)
DidRemovePlayer(GKGameSession, GKCloudPlayer)
DidSaveData(GKGameSession, GKCloudPlayer, NSData)
GetPlayers(GKConnectionState)
GetShareUrl(Action<NSUrl, NSError>)
GetShareUrlAsync()
LoadData(Action<NSData, NSError>)
LoadDataAsync()
LoadSession(String, Action<GKGameSession, NSError>)
LoadSessionAsync(String)
LoadSessions(String, Action<GKGameSession[], NSError>)
LoadSessionsAsync(String)
RemoveEventListener(IGKGameSessionEventListener)
RemoveSession(String, Action<NSError>)
RemoveSessionAsync(String)
SaveData(NSData, Action<NSData, NSError>)
SaveDataAsync(NSData)
SendData(NSData, GKTransportType, Action<NSError>)
SendDataAsync(NSData, GKTransportType)
SendMessage(String, String[], NSData, GKCloudPlayer[], Boolean, Action<NSError>)
SendMessageAsync(String, String[], NSData, GKCloudPlayer[], Boolean)
SetConnectionState(GKConnectionState, Action<NSError>)
SetConnectionStateAsync(GKConnectionState)
xamarinmac
namespace GameKit
{
[Deprecated(PlatformName.MacOSX, 10, 14, PlatformArchitecture.None, "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")]
[Deprecated(PlatformName.TvOS, 12, 0, PlatformArchitecture.None, "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")]
[Deprecated(PlatformName.iOS, 12, 0, PlatformArchitecture.None, "Use 'GKMatchmakerViewController' (real-time) or 'GKTurnBasedMatchmakerViewController' (turn-based) instead.")]
[Introduced(PlatformName.iOS, 10, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 12, PlatformArchitecture.All, null)]
[Introduced(PlatformName.TvOS, 10, 0, PlatformArchitecture.All, null)]
[Register("GKGameSession", true)]
[Unavailable(PlatformName.WatchOS, PlatformArchitecture.All, null)]
public class GKGameSession : NSObject
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
public static Task<GKGameSession![]!>! LoadSessionsAsync(string? containerName);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarinmac | |
Assembly | Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API