Package com.castlabs.android.drm
Enum KeyStatus
- All Implemented Interfaces:
- Serializable,- Comparable<KeyStatus>
DRM key status types
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionKey response is received and the key is not-usable for playbackKey response is received but the key was not found and therefore not-usable for playbackKey response is received but the key can not be used due to digital output protection settingsNo information about the key yetKey response is received and the key is usable for playbackKey request was sent but no response received yet
- 
Method Summary
- 
Enum Constant Details- 
UnknownNo information about the key yet
- 
WaitingKey request was sent but no response received yet
- 
UsableKey response is received and the key is usable for playback
- 
InvalidKey response is received and the key is not-usable for playback
- 
NotFoundKey response is received but the key was not found and therefore not-usable for playback
- 
OutputNotAllowedKey response is received but the key can not be used due to digital output protection settings
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-