com.smartadserver.android.instreamsdk.SVSContentPlayerPlugin |
Interface to be implemented by classes that pilot various content players
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
adBreakEnded()
Performs any action necessary when the ad playback has finished, including
resuming the content playback
| ||||||||||
abstract void |
adBreakStarted()
Performs any action necessary when the ad playback is about to start, including
pausing the content playback
| ||||||||||
abstract long |
getContentDuration()
Returns the content media duration in milliseconds (or -1 for live content)
| ||||||||||
abstract ViewGroup |
getContentPlayerContainer()
Returns the ViewGroup component that contains the content player
| ||||||||||
abstract float |
getContentPlayerVolumeLevel()
Returns the volume level of the content player.
| ||||||||||
abstract long |
getCurrentPosition()
Returns the current position in the content media, in milliseconds
| ||||||||||
abstract boolean |
isPlaying()
Returns whether the content media is currently being played
|
Performs any action necessary when the ad playback has finished, including resuming the content playback
Performs any action necessary when the ad playback is about to start, including pausing the content playback
Returns the content media duration in milliseconds (or -1 for live content)
Returns the ViewGroup component that contains the content player
Returns the volume level of the content player.
Returns the current position in the content media, in milliseconds
Returns whether the content media is currently being played