public enum PreloadMode extends Enum<PreloadMode>
Enum Constant and Description |
---|
AUTO
Indicates that the whole video/audio file could be downloaded, even if
the user is not expected to use it.
|
METADATA
Indicates that only media metadata (e.g.
|
NONE
Indicates that the video/audio should not be preloaded.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the preload mode string used by the browser.
|
static PreloadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreloadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreloadMode AUTO
public static final PreloadMode METADATA
public static final PreloadMode NONE
public static PreloadMode[] values()
for (PreloadMode c : PreloadMode.values()) System.out.println(c);
public static PreloadMode 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 getValue()
Copyright © 2018 Vaadin Ltd. All rights reserved.