-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum AdPreloadType
The Ad preloading strategy.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
No preloading of the advertisement.
MIDROLL_AND_POSTROLL
Preloads midrolls and postrolls.
- For Google IMA the preload starts 4 seconds before ad playback.
-
Method Summary
Modifier and Type Method Description static AdPreloadType
from(String adPreloadType)
Converts a textual representation of the preload type to an actual AdPreloadType instance. static Array<AdPreloadType>
values()
static AdPreloadType
valueOf(String name)
-
-
Method Detail
-
from
@Nullable() static AdPreloadType from(String adPreloadType)
Converts a textual representation of the preload type to an actual AdPreloadType instance.
- For possible values, see AdPreloadType.
Default: null
- Parameters:
adPreloadType
- The textual representation of the preload type.
-
values
static Array<AdPreloadType> values()
-
valueOf
static AdPreloadType valueOf(String name)
-
-
-
-