Player Repository
interface PlayerRepository
Content copied to clipboard
Functions
clearMediaList
Link copied to clipboard
getCurrentMediaIndex
Link copied to clipboard
getMediaAt
Link copied to clipboard
getMediaCount
Link copied to clipboard
hasNextMedia
Link copied to clipboard
hasPreviousMedia
Link copied to clipboard
removeMedia
Link copied to clipboard
seekBack
Link copied to clipboard
abstract fun seekBack()
Content copied to clipboard
Seeks back in the current media by getSeekBackIncrement.
seekForward
Link copied to clipboard
abstract fun seekForward()
Content copied to clipboard
Seek forward in the current media by getSeekForwardIncrement.
seekToDefaultPosition
Link copied to clipboard
setMediaList
Link copied to clipboard
setMediaListAndPlay
Link copied to clipboard
setPlaybackSpeed
Link copied to clipboard
setShuffleModeEnabled
Link copied to clipboard
skipToNextMedia
Link copied to clipboard
abstract fun skipToNextMedia()
Content copied to clipboard
Skips to the default position of next Media.
skipToPreviousMedia
Link copied to clipboard
abstract fun skipToPreviousMedia()
Content copied to clipboard
Skips to the default position of previous Media.
Properties
availableCommands
Link copied to clipboard
Returns the player's currently available commands.
currentMedia
Link copied to clipboard
Returns the current Media playing, or that would play when player starts playing.
currentState
Link copied to clipboard
Returns the player's current state.
mediaPosition
Link copied to clipboard
Returns the current media position of the player.
seekBackIncrement
Link copied to clipboard
Returns the seekBack increment.
seekForwardIncrement
Link copied to clipboard
Returns the seekForward increment.
shuffleModeEnabled
Link copied to clipboard
Returns the current value for shuffling of Media mode.