Class: Toybox.Media.ContentIterator
- Inherits:
-
Toybox.Lang.Object
Overview
A user-defined iterator that returns referenced to media content on the system for use by the system media player.
Instance Method Summary collapse
-
canSkip() as Lang.Boolean
Determine if the the current track can be skipped.
-
get() as Media.Content or Null
Get the current media content object.
-
getPlaybackProfile() as Media.PlaybackProfile or Null
Get the current media content playback profile.
-
next() as Media.Content or Null
Get the next media content object.
-
peekNext() as Media.Content or Null
Get the next media content object without incrementing the iterator.
-
peekPrevious() as Media.Content or Null
Get the previous media content object without decrementing the iterator.
-
previous() as Media.Content or Null
Get the previous media content object.
-
repeatMode() as Media.RepeatMode or Null
Get the current repeat state.
-
shuffling() as Lang.Boolean
Determine if playback is currently set to shuffle.
Instance Method Details
canSkip() as Lang.Boolean
Determine if the the current track can be skipped.
get() as Media.Content or Null
Get the current media content object.
getPlaybackProfile() as Media.PlaybackProfile or Null
Get the current media content playback profile
next() as Media.Content or Null
Get the next media content object.
peekNext() as Media.Content or Null
Get the next media content object without incrementing the iterator.
peekPrevious() as Media.Content or Null
Get the previous media content object without decrementing the iterator.
previous() as Media.Content or Null
Get the previous media content object.
repeatMode() as Media.RepeatMode or Null
Get the current repeat state
shuffling() as Lang.Boolean
Determine if playback is currently set to shuffle.
Returns true
if shuffle is on, otherwise false
.