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.PlayerInterface
public void play()
play
in interface com.ooyala.android.player.PlayerInterface
public void stop()
stop
in interface com.ooyala.android.player.PlayerInterface
public int currentTime()
currentTime
in interface com.ooyala.android.player.PlayerInterface
public int duration()
duration
in interface com.ooyala.android.player.PlayerInterface
public int buffer()
buffer
in interface com.ooyala.android.player.PlayerInterface
public boolean seekable()
seekable
in interface com.ooyala.android.player.PlayerInterface
public void seekToTime(int timeInMillis)
seekToTime
in interface com.ooyala.android.player.PlayerInterface
public com.ooyala.android.OoyalaPlayer.State getState()
getState
in interface com.ooyala.android.player.PlayerInterface
public int livePlayheadPercentage()
livePlayheadPercentage
in interface com.ooyala.android.player.PlayerInterface
public void seekToPercentLive(float percent)
seekToPercentLive
in interface com.ooyala.android.player.PlayerInterface
public boolean isLiveClosedCaptionsAvailable()
isLiveClosedCaptionsAvailable
in interface com.ooyala.android.player.PlayerInterface
public void setClosedCaptionsLanguage(java.lang.String language)
setClosedCaptionsLanguage
in interface com.ooyala.android.player.PlayerInterface
public com.ooyala.android.OoyalaException getError()
getError
in interface com.ooyala.android.player.PlayerInterface
public void setVolume(float volume)
setVolume
in interface com.ooyala.android.player.PlayerInterface
public com.ooyala.android.player.PlayerType getPlayerType()
getPlayerType
in interface com.ooyala.android.player.PlayerInterface
public boolean isMultiAudioAvailable()
isMultiAudioAvailable
in interface com.ooyala.android.player.PlayerInterface
public void createBitmapScreenshot(com.ooyala.android.player.exoplayer.PlayerBitmapListener playerBitmapListener)
createBitmapScreenshot
in interface com.ooyala.android.player.PlayerInterface
public 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.