Package android.annotation
Enum SdkConstant.SdkConstantType
- java.lang.Object
-
- java.lang.Enum<SdkConstant.SdkConstantType>
-
- android.annotation.SdkConstant.SdkConstantType
-
- All Implemented Interfaces:
Serializable,Comparable<SdkConstant.SdkConstantType>
- Enclosing class:
- SdkConstant
public static enum SdkConstant.SdkConstantType extends Enum<SdkConstant.SdkConstantType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITY_INTENT_ACTIONBROADCAST_INTENT_ACTIONFEATUREINTENT_CATEGORYSERVICE_ACTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SdkConstant.SdkConstantTypevalueOf(String name)Returns the enum constant of this type with the specified name.static SdkConstant.SdkConstantType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVITY_INTENT_ACTION
public static final SdkConstant.SdkConstantType ACTIVITY_INTENT_ACTION
-
BROADCAST_INTENT_ACTION
public static final SdkConstant.SdkConstantType BROADCAST_INTENT_ACTION
-
SERVICE_ACTION
public static final SdkConstant.SdkConstantType SERVICE_ACTION
-
INTENT_CATEGORY
public static final SdkConstant.SdkConstantType INTENT_CATEGORY
-
FEATURE
public static final SdkConstant.SdkConstantType FEATURE
-
-
Method Detail
-
values
public static SdkConstant.SdkConstantType[] 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 (SdkConstant.SdkConstantType c : SdkConstant.SdkConstantType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SdkConstant.SdkConstantType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-