Enum GKErrorCode

    • Enum Constant Detail

      • CommunicationsFailure

        public static final GKErrorCode CommunicationsFailure
      • UserDenied

        public static final GKErrorCode UserDenied
      • InvalidCredentials

        public static final GKErrorCode InvalidCredentials
      • NotAuthenticated

        public static final GKErrorCode NotAuthenticated
      • AuthenticationInProgress

        public static final GKErrorCode AuthenticationInProgress
      • InvalidPlayer

        public static final GKErrorCode InvalidPlayer
      • ScoreNotSet

        public static final GKErrorCode ScoreNotSet
      • ParentalControlsBlocked

        public static final GKErrorCode ParentalControlsBlocked
      • PlayerStatusExceedsMaximumLength

        public static final GKErrorCode PlayerStatusExceedsMaximumLength
      • PlayerStatusInvalid

        public static final GKErrorCode PlayerStatusInvalid
      • MatchRequestInvalid

        public static final GKErrorCode MatchRequestInvalid
      • GameUnrecognized

        public static final GKErrorCode GameUnrecognized
      • NotSupported

        public static final GKErrorCode NotSupported
      • InvalidParameter

        public static final GKErrorCode InvalidParameter
      • UnexpectedConnection

        public static final GKErrorCode UnexpectedConnection
      • ChallengeInvalid

        public static final GKErrorCode ChallengeInvalid
      • TurnBasedMatchDataTooLarge

        public static final GKErrorCode TurnBasedMatchDataTooLarge
      • TurnBasedTooManySessions

        public static final GKErrorCode TurnBasedTooManySessions
      • TurnBasedInvalidParticipant

        public static final GKErrorCode TurnBasedInvalidParticipant
      • TurnBasedInvalidTurn

        public static final GKErrorCode TurnBasedInvalidTurn
      • TurnBasedInvalidState

        public static final GKErrorCode TurnBasedInvalidState
      • InvitationsDisabled

        public static final GKErrorCode InvitationsDisabled
      • PlayerPhotoFailure

        public static final GKErrorCode PlayerPhotoFailure
      • UbiquityContainerUnavailable

        public static final GKErrorCode UbiquityContainerUnavailable
      • MatchNotConnected

        public static final GKErrorCode MatchNotConnected
      • GameSessionRequestInvalid

        public static final GKErrorCode GameSessionRequestInvalid
    • Method Detail

      • values

        public static GKErrorCode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (GKErrorCode c : GKErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GKErrorCode valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getClassDomain

        public static java.lang.String getClassDomain()
      • value

        public long value()
        Specified by:
        value in interface org.robovm.rt.bro.ValuedEnum
      • valueOf

        public static GKErrorCode valueOf​(long n)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        n - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null