public static enum MediaComponent.Preload extends Enum<MediaComponent.Preload>
#setPreload(Preload)}
Enum Constant and Description |
---|
AUTO
auto detection what is going to be preload
|
METADATA
preloads only meta data like first picture, etc.
|
NONE
preloads nothing
|
Modifier and Type | Method and Description |
---|---|
String |
getRealName()
Gets the real name for the preload option
|
static MediaComponent.Preload |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaComponent.Preload[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaComponent.Preload NONE
public static final MediaComponent.Preload METADATA
public static final MediaComponent.Preload AUTO
public static MediaComponent.Preload[] values()
for (MediaComponent.Preload c : MediaComponent.Preload.values()) System.out.println(c);
public static MediaComponent.Preload valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getRealName()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.