-
- All Implemented Interfaces:
public class VerizonMediaConfiguration
The Verizon Media Configuration API.
- Only available with the feature 'verizonmedia'.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
VerizonMediaConfiguration.Builder
The builder for VerizonMediaConfiguration.
-
Field Summary
Fields Modifier and Type Field Description private final int
defaultSkipOffset
private final SkippedAdStrategy
onSeekOverAd
private final VerizonMediaUiConfiguration
ui
-
Method Summary
Modifier and Type Method Description int
getDefaultSkipOffset()
The offset after which an ad break may be skipped. SkippedAdStrategy
getOnSeekOverAd()
The ad skip strategy which is used when seeking over ads. VerizonMediaUiConfiguration
getUI()
The Verizon Media UI configuration. boolean
equals(Object o)
int
hashCode()
-
-
Method Detail
-
getDefaultSkipOffset
int getDefaultSkipOffset()
The offset after which an ad break may be skipped.
- If the offset is -1, the ad is unskippable.
- If the offset is 0, the ad is immediately skippable.
- Otherwise it must be a positive number indicating the offset.
Default: -1
-
getOnSeekOverAd
@NonNull() SkippedAdStrategy getOnSeekOverAd()
The ad skip strategy which is used when seeking over ads.
- For all possibilities, see SkippedAdStrategy.
Default: PLAY_NONE
-
getUI
@NonNull() VerizonMediaUiConfiguration getUI()
The Verizon Media UI configuration.
Default: VerizonMediaUiConfiguration
-
hashCode
int hashCode()
-
-
-
-