public interface MPMediaPlayback
| Modifier and Type | Method and Description |
|---|---|
void |
beginSeekingBackward() |
void |
beginSeekingForward()
The seeking rate will increase the longer scanning is active.
|
float |
currentPlaybackRate()
The current playback rate of the now playing item.
|
double |
currentPlaybackTime()
The current playback time of the now playing item in seconds.
|
void |
endSeeking() |
boolean |
isPreparedToPlay()
Returns YES if prepared for playback.
|
void |
pause()
Pauses playback if playing.
|
void |
play()
Plays items from the current queue, resuming paused playback if possible.
|
void |
prepareToPlay()
Prepares the current queue for playback, interrupting any active (non-mixible) audio sessions.
|
void |
setCurrentPlaybackRate(float value)
The current playback rate of the now playing item.
|
void |
setCurrentPlaybackTime(double value)
The current playback time of the now playing item in seconds.
|
void |
stop()
Ends playback.
|
void beginSeekingBackward()
void beginSeekingForward()
float currentPlaybackRate()
double currentPlaybackTime()
void endSeeking()
boolean isPreparedToPlay()
void pause()
void play()
void prepareToPlay()
void setCurrentPlaybackRate(float value)
void setCurrentPlaybackTime(double value)
void stop()