Enum MediaTailorAdBreakEventType
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.EventType,java.io.Serializable,kotlin.Comparable
public enum MediaTailorAdBreakEventType extends Enum<MediaTailorAdBreakEventType> implements EventType<MediaTailorAdBreakEvent>
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final Integerordinalprivate final EnumEntries<MediaTailorAdBreakEventType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_BREAK_BEGINFired when an adbreak in a stream starts.
AD_BREAK_ENDFired when an adbreak in a stream ends.
-
Method Summary
Modifier and Type Method Description StringgetName()Function to get the name (textual representation) of a MediaTailor adbreak related event. final MediaTailorAdBreakEventTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<MediaTailorAdBreakEventType>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<MediaTailorAdBreakEventType>getEntries()-
-
Method Detail
-
getName
String getName()
Function to get the name (textual representation) of a MediaTailor adbreak related event.
- Returns:
The name of the event (NonNull).
-
valueOf
final MediaTailorAdBreakEventType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<MediaTailorAdBreakEventType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<MediaTailorAdBreakEventType> getEntries()
-
-
-
-