public class InstreamAdBreakPosition
extends java.lang.Object

Nested Class Summary

Nested Classes
Modifier and TypeClass and Description
static class InstreamAdBreakPosition.Type 

Constructor Summary

Constructors
Constructor and Description
InstreamAdBreakPosition(InstreamAdBreakPosition.Type type, long value) 

Method Summary

All Methods
Instance Methods
Concrete Methods
Modifier and TypeMethod and Description
InstreamAdBreakPosition.TypegetPositionType()
Provides type of ad break time offset position.
longgetValue()
Provides ad break time offset value.

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

InstreamAdBreakPosition

public InstreamAdBreakPosition(@NonNull
                               InstreamAdBreakPosition.Type type,
                               long value)

Method Detail

getValue

public long getValue()
Provides ad break time offset value. Units can be optained via getPositionType()
Returns:
Ad break time offset value

getPositionType

@NonNull
public InstreamAdBreakPosition.Type getPositionType()
Provides type of ad break time offset position. Allowed values see in InstreamAdBreakPosition.Type
Returns:
Type of ad break time offset position