com.widevine.drmapi.android
Enum WVStatus
java.lang.Object
java.lang.Enum<WVStatus>
com.widevine.drmapi.android.WVStatus
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<WVStatus>
public enum WVStatus
- extends java.lang.Enum<WVStatus>
WVStatus is the result code for many of the API functions and are
included in callbacks. It indicates success,
failure or specific status of the requested operation.
- Since:
- 1.0
Method Summary |
static WVStatus |
getEnum(int status)
|
static WVStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static WVStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
OK
public static final WVStatus OK
NotInitialized
public static final WVStatus NotInitialized
AlreadyInitialized
public static final WVStatus AlreadyInitialized
CantConnectToMediaServer
public static final WVStatus CantConnectToMediaServer
BadMedia
public static final WVStatus BadMedia
CantConnectToDrmServer
public static final WVStatus CantConnectToDrmServer
NotLicensed
public static final WVStatus NotLicensed
LicenseDenied
public static final WVStatus LicenseDenied
LostConnection
public static final WVStatus LostConnection
LicenseExpired
public static final WVStatus LicenseExpired
AssetExpired
public static final WVStatus AssetExpired
NotLicensedByRegion
public static final WVStatus NotLicensedByRegion
LicenseRequestLimitReached
public static final WVStatus LicenseRequestLimitReached
BadURL
public static final WVStatus BadURL
FileNotPresent
public static final WVStatus FileNotPresent
NotRegistered
public static final WVStatus NotRegistered
AlreadyRegistered
public static final WVStatus AlreadyRegistered
NotPlaying
public static final WVStatus NotPlaying
AlreadyPlaying
public static final WVStatus AlreadyPlaying
FileSystemError
public static final WVStatus FileSystemError
AssetDBWasCorrupted
public static final WVStatus AssetDBWasCorrupted
ClockTamperDetected
public static final WVStatus ClockTamperDetected
MandatorySettingAbsent
public static final WVStatus MandatorySettingAbsent
SystemCallError
public static final WVStatus SystemCallError
OutOfMemoryError
public static final WVStatus OutOfMemoryError
TamperDetected
public static final WVStatus TamperDetected
PendingServerNotification
public static final WVStatus PendingServerNotification
HardwareIDAbsent
public static final WVStatus HardwareIDAbsent
OutOfRange
public static final WVStatus OutOfRange
HeartbeatError
public static final WVStatus HeartbeatError
values
public static WVStatus[] 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 (WVStatus c : WVStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WVStatus 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
getEnum
public static WVStatus getEnum(int status)