com.yandex.mobile.ads.instream
Class InstreamAdBreakPosition
java.lang.Object
com.yandex.mobile.ads.instream.InstreamAdBreakPosition
public class InstreamAdBreakPosition
extends java.lang.Object
Nested Class Summary
Modifier and Type | Class and Description |
---|---|
static class | InstreamAdBreakPosition.Type |
Constructor Summary
Constructor and Description |
---|
InstreamAdBreakPosition(InstreamAdBreakPosition.Type type, long value) |
Method Summary
Modifier and Type | Method and Description |
---|---|
InstreamAdBreakPosition.Type | getPositionType()
Provides type of ad break time offset position.
|
long | getValue()
Provides ad break time offset value.
|
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