public static enum MediaAdapter.DrmType extends java.lang.Enum<MediaAdapter.DrmType>
MediaAdapter.Config| Enum Constant and Description |
|---|
ONLY_MARLIN_DRM
Make Media Adapter to use only Marlin DRM.
|
ONLY_NATIVE_DRM
Make Media Adapter to use only native DRM.
|
PREFER_NATIVE_DRM
Make Media Adapter to use native DRM; if not possible, fallback to
use Marlin DRM.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaAdapter.DrmType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaAdapter.DrmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaAdapter.DrmType PREFER_NATIVE_DRM
public static final MediaAdapter.DrmType ONLY_NATIVE_DRM
public static final MediaAdapter.DrmType ONLY_MARLIN_DRM
public static MediaAdapter.DrmType[] values()
for (MediaAdapter.DrmType c : MediaAdapter.DrmType.values()) System.out.println(c);
public static MediaAdapter.DrmType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null