public interface Pauseroll
| Modifier and Type | Method and Description |
|---|---|
InstreamAdBreak |
getInstreamAdBreak()
Returns
InstreamAdBreak that's associated with this pauseroll. |
void |
invalidate()
Invalidate pauseroll playback.
|
void |
pause()
Pause pauseroll playback.
|
void |
play(InstreamAdView instreamAdView)
Start pauseroll playback.
|
void |
prepare(InstreamAdPlayer instreamAdPlayer)
Prepare pauseroll playback.
|
void |
resume()
Resume paused pauseroll playback.
|
void |
setListener(InstreamAdBreakEventListener listener)
Register a callback for listening pauseroll playback events.
|
@NonNull InstreamAdBreak getInstreamAdBreak()
InstreamAdBreak that's associated with this pauseroll.InstreamAdBreak.void setListener(@Nullable
InstreamAdBreakEventListener listener)
listener - an InstreamAdBreakEventListener object that handles lifecycle of pauseroll.void prepare(@NonNull
InstreamAdPlayer instreamAdPlayer)
instreamAdPlayer - player to play pauseroll.void play(@NonNull
InstreamAdView instreamAdView)
instreamAdView - the view in which pauseroll will be displayed.void pause()
void resume()
void invalidate()