public enum SkippedAdStrategy extends Enum<SkippedAdStrategy>
Enum Constant and Description |
---|
PLAY_ALL
Plays all the ads skipped due to a seek.
|
PLAY_LAST
Plays the last ad skipped due to a seek.
|
PLAY_NONE
Plays none of the ads skipped due to a seek.
|
Modifier and Type | Method and Description |
---|---|
static SkippedAdStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SkippedAdStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SkippedAdStrategy PLAY_ALL
public static final SkippedAdStrategy PLAY_LAST
public static final SkippedAdStrategy PLAY_NONE
public static SkippedAdStrategy[] values()
for (SkippedAdStrategy c : SkippedAdStrategy.values()) System.out.println(c);
public static SkippedAdStrategy 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 null