GKLocalPlayer
Notifications
GKLocalPlayer()
GKLocalPlayer(IntPtr)
GKLocalPlayer(NativeHandle)
GKLocalPlayer(NSCoder)
GKLocalPlayer(NSObjectFlag)
Authenticated
AuthenticateHandler
AuthenticationDidChangeNotificationName
ClassHandle
Friends
IsPresentingFriendRequestViewController
IsUnderage
Local
LocalPlayer
MultiplayerGamingRestricted
PersonalizedCommunicationRestricted
Authenticate(Action<NSError>)
AuthenticateAsync()
DeleteSavedGames(String, Action<NSError>)
DidModifySavedGame(GKPlayer, GKSavedGame)
FetchItemsForIdentityVerificationSignature(GKFetchItemsForIdentityVerificationSignatureCompletionHandler)
FetchItemsForIdentityVerificationSignatureAsync()
FetchSavedGames(Action<GKSavedGame[], NSError>)
GenerateIdentityVerificationSignature(GKIdentityVerificationSignatureHandler)
GenerateIdentityVerificationSignatureAsync()
HasConflictingSavedGames(GKPlayer, GKSavedGame[])
LoadChallengeableFriends(Action<GKPlayer[], NSError>)
LoadChallengeableFriendsAsync()
LoadDefaultLeaderboardCategoryID(Action<String, NSError>)
LoadDefaultLeaderboardCategoryIDAsync()
LoadDefaultLeaderboardIdentifier(Action<String, NSError>)
LoadDefaultLeaderboardIdentifierAsync()
LoadFriendPlayers(Action<GKPlayer[], NSError>)
LoadFriendPlayersAsync()
LoadFriends(GKFriendsHandler)
LoadFriendsAsync()
LoadFriendsAuthorizationStatus(Action<GKFriendsAuthorizationStatus, NSError>)
LoadFriendsAuthorizationStatusAsync()
LoadFriendsList(Action<GKPlayer[], NSError>)
LoadFriendsList(String[], Action<GKPlayer[], NSError>)
LoadFriendsListAsync()
LoadFriendsListAsync(String[])
LoadRecentPlayers(Action<GKPlayer[], NSError>)
LoadRecentPlayersAsync()
PresentFriendRequestCreator(NSWindow, NSError)
PresentFriendRequestCreator(UIViewController, NSError)
RegisterListener(IGKLocalPlayerListener)
ResolveConflictingSavedGames(GKSavedGame[], NSData, Action<GKSavedGame[], NSError>)
SaveGameData(NSData, String, Action<GKSavedGame, NSError>)
SetDefaultLeaderboardCategoryID(String, Action<NSError>)
SetDefaultLeaderboardCategoryIDAsync(String)
SetDefaultLeaderboardIdentifier(String, Action<NSError>)
SetDefaultLeaderboardIdentifierAsync(String)
UnregisterAllListeners()
UnregisterListener(IGKLocalPlayerListener)
net9.0-macos14.2
namespace GameKit
{
[Register("GKLocalPlayer", true)]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public class GKLocalPlayer : GKPlayer, IGKSavedGameListener, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("presentFriendRequestCreatorFromWindow:error:")]
[SupportedOSPlatform("macos12.0")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("maccatalyst")]
public virtual bool PresentFriendRequestCreator(NSWindow? window, out NSError? error);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net9.0-macos14.2 | |
Assembly | Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API