public interface PFAsset
Modifier and Type | Method and Description |
---|---|
int |
getDownloadProgress()
Get the download progress of the asset when downloading, as indicated by the status.
|
float |
getDuration()
Get the time duration of the asset in seconds
|
float |
getPlaybackTime()
Get the current playback time in seconds
|
PFAssetStatus |
getStatus()
Get the current status of the asset as a PFAssetStatus
|
java.lang.String |
getUrl()
Get the URL as a String from the asset currently loaded/playing
|
void |
pause()
Pause playback of the asset
|
void |
play()
Playback the the asset
|
void |
release()
Release the asset
|
void |
setPLaybackTime(float time)
Seek in the asset and set the play head to a designated position
|
void |
setVolume(float volume)
Set the volume of the audio track
|
void |
stop()
Stop playback of the asset
|
void play()
void stop()
void pause()
float getPlaybackTime()
void setPLaybackTime(float time)
time
- The time to start resume playbackfloat getDuration()
java.lang.String getUrl()
PFAssetStatus getStatus()
int getDownloadProgress()
void release()
void setVolume(float volume)