Class GameKit


  • public final class GameKit
    extends java.lang.Object
    • Method Detail

      • GKErrorDomain

        @NotNull
        public static @NotNull java.lang.String GKErrorDomain()
      • GKGameSessionErrorDomain

        @NotNull
        @Deprecated
        public static @NotNull java.lang.String GKGameSessionErrorDomain()
        Deprecated.
        API-Since: 10.0 Deprecated-Since: 12.0 Deprecated-Message: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
      • GKPlayerDidChangeNotificationName

        @NotNull
        public static @NotNull java.lang.String GKPlayerDidChangeNotificationName()
        Notification will be posted whenever the player details changes. The object of the notification will be the player.
      • GKTurnTimeoutDefault

        public static double GKTurnTimeoutDefault()
        use a default timeout of one week API-Since: 6.0
      • GKTurnTimeoutNone

        public static double GKTurnTimeoutNone()
        API-Since: 6.0
      • GKExchangeTimeoutDefault

        public static double GKExchangeTimeoutDefault()
        use a default timeout of one day API-Since: 7.0
      • GKExchangeTimeoutNone

        public static double GKExchangeTimeoutNone()
        API-Since: 7.0
      • GKPlayerAuthenticationDidChangeNotificationName

        @NotNull
        public static @NotNull java.lang.String GKPlayerAuthenticationDidChangeNotificationName()
        Notification will be posted whenever authentication status changes. API-Since: 4.1
      • GKSessionErrorDomain

        @NotNull
        public static @NotNull java.lang.String GKSessionErrorDomain()
        domain
      • GKVoiceChatServiceErrorDomain

        public static java.lang.String GKVoiceChatServiceErrorDomain()
      • GKPlayerIDNoLongerAvailable

        @NotNull
        public static @NotNull java.lang.String GKPlayerIDNoLongerAvailable()
        Deprecated methods that previously returned player IDs will return GKPlayerIDNoLongerAvailable instead. API-Since: 14.0