Package com.castlabs.android.drm
Enum KeyStatus
- All Implemented Interfaces:
Serializable
,Comparable<KeyStatus>
DRM key status types
-
Enum Constant Summary
Enum 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
-
Unknown
No information about the key yet -
Waiting
Key request was sent but no response received yet -
Usable
Key response is received and the key is usable for playback -
Invalid
Key response is received and the key is not-usable for playback -
NotFound
Key response is received but the key was not found and therefore not-usable for playback -
OutputNotAllowed
Key response is received but the key can not be used due to digital output protection settings
-
-
Method Details
-
values
Returns 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
-
valueOf
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
-