Package org.robovm.apple.gamekit
Enum GKErrorCode
- java.lang.Object
-
- java.lang.Enum<GKErrorCode>
-
- org.robovm.apple.gamekit.GKErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GKErrorCode>
,NSErrorCode
,org.robovm.rt.bro.ValuedEnum
public enum GKErrorCode extends java.lang.Enum<GKErrorCode> implements NSErrorCode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKErrorCode.NSErrorWrap
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getClassDomain()
long
value()
static GKErrorCode
valueOf(long n)
Returns the enum constant of this type with the specified name.static GKErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GKErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final GKErrorCode Unknown
-
Cancelled
public static final GKErrorCode Cancelled
-
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
-
Underage
public static final GKErrorCode Underage
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getClassDomain
public static java.lang.String getClassDomain()
-
value
public long value()
- Specified by:
value
in interfaceorg.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 namejava.lang.NullPointerException
- if the argument is null
-
-