public class CastPlayer
extends java.util.Observable
implements com.ooyala.android.player.PlayerInterface
| Modifier and Type | Method and Description |
|---|---|
int |
buffer() |
void |
createBitmapScreenshot(com.ooyala.android.player.exoplayer.PlayerBitmapListener playerBitmapListener) |
int |
currentTime() |
int |
duration() |
com.ooyala.android.OoyalaException |
getError() |
com.ooyala.android.player.PlayerType |
getPlayerType() |
com.ooyala.android.OoyalaPlayer.State |
getState() |
boolean |
isLiveClosedCaptionsAvailable() |
boolean |
isMultiAudioAvailable() |
int |
livePlayheadPercentage()
For Ooyala internal use only.
|
void |
onClosedCaptionsInfoAvailable(java.lang.String language) |
void |
onContentTreeFetched(java.lang.String newEmbedCode) |
void |
onError(java.lang.String receiverCode) |
void |
onPlaybackReady() |
void |
onPlayed() |
void |
onPlayheadTimeChanged(double newCurrentTime) |
void |
onSeekCompleted() |
void |
onStateChanged(com.ooyala.android.OoyalaPlayer.State state) |
void |
pause() |
void |
play() |
boolean |
seekable() |
void |
seekToPercentLive(float percent)
For Ooyala internal use only.
|
void |
seekToTime(int timeInMillis) |
void |
setClosedCaptionsLanguage(java.lang.String language) |
void |
setVolume(float volume) |
void |
stop() |
public void pause()
pause in interface com.ooyala.android.player.PlayerInterfacepublic void play()
play in interface com.ooyala.android.player.PlayerInterfacepublic void stop()
stop in interface com.ooyala.android.player.PlayerInterfacepublic int currentTime()
currentTime in interface com.ooyala.android.player.PlayerInterfacepublic int duration()
duration in interface com.ooyala.android.player.PlayerInterfacepublic int buffer()
buffer in interface com.ooyala.android.player.PlayerInterfacepublic boolean seekable()
seekable in interface com.ooyala.android.player.PlayerInterfacepublic void seekToTime(int timeInMillis)
seekToTime in interface com.ooyala.android.player.PlayerInterfacepublic com.ooyala.android.OoyalaPlayer.State getState()
getState in interface com.ooyala.android.player.PlayerInterfacepublic int livePlayheadPercentage()
livePlayheadPercentage in interface com.ooyala.android.player.PlayerInterfacepublic void seekToPercentLive(float percent)
seekToPercentLive in interface com.ooyala.android.player.PlayerInterfacepublic boolean isLiveClosedCaptionsAvailable()
isLiveClosedCaptionsAvailable in interface com.ooyala.android.player.PlayerInterfacepublic void setClosedCaptionsLanguage(java.lang.String language)
setClosedCaptionsLanguage in interface com.ooyala.android.player.PlayerInterfacepublic com.ooyala.android.OoyalaException getError()
getError in interface com.ooyala.android.player.PlayerInterfacepublic void setVolume(float volume)
setVolume in interface com.ooyala.android.player.PlayerInterfacepublic com.ooyala.android.player.PlayerType getPlayerType()
getPlayerType in interface com.ooyala.android.player.PlayerInterfacepublic boolean isMultiAudioAvailable()
isMultiAudioAvailable in interface com.ooyala.android.player.PlayerInterfacepublic void createBitmapScreenshot(com.ooyala.android.player.exoplayer.PlayerBitmapListener playerBitmapListener)
createBitmapScreenshot in interface com.ooyala.android.player.PlayerInterfacepublic void onPlayheadTimeChanged(double newCurrentTime)
public void onContentTreeFetched(java.lang.String newEmbedCode)
public void onPlaybackReady()
public void onClosedCaptionsInfoAvailable(java.lang.String language)
public void onPlayed()
public void onError(java.lang.String receiverCode)
public void onStateChanged(com.ooyala.android.OoyalaPlayer.State state)
public void onSeekCompleted()
Copyright 2018 Brightcove, Inc. All Rights Reserved.