Package com.tomtom.ivi.appsuite.media.api.common.core.actions.standard

Standard Action types are provided to simplify use of media-related operations that the user commonly performs, such as skipping between tracks (SkipForwardAction) or pausing (PauseAction).

Types

Link copied to clipboard
class FastForwardAction : Action

Request the current source to start fast forwarding.

Link copied to clipboard
class PauseAction : Action

Request the current source to pause its playback and stay at its current position.

Link copied to clipboard
class PlayAction : Action

Request the current source to start its playback at its current position.

Link copied to clipboard
class PlayMediaIdAction(val mediaId: String) : Action

Request the current source to start playback of a specific mediaId.

Link copied to clipboard
class PlayMediaIdFromSourceAction(val sourceId: SourceId, val mediaId: String) : Action

Request to start playback of a specific mediaId from a source with ID sourceId.

Link copied to clipboard
enum RepeatMode : Enum<RepeatMode>

Playback repeat mode. This is used to send and receive repeat mode Actions.

Link copied to clipboard
class RewindAction : Action

Request the current source to start rewinding.

Link copied to clipboard
class SeekAction(val position: Duration) : Action

Request the current source to seek to a specific position in the current media.

Link copied to clipboard
class SetRatingAction(val rating: IviMediaRating) : Action

Request the current source to set the rating for the current item.

Link copied to clipboard
class SetRepeatModeAction(val mode: RepeatMode) : Action

Request the current source to change the repeat mode for the current media or queue.

Link copied to clipboard
class SetShuffleModeAction(val mode: ShuffleMode) : Action

Request the current source to play the current queue in a specific shuffling mode.

Link copied to clipboard
enum ShuffleMode : Enum<ShuffleMode>

Playback order mode. This is used to send and receive shuffle mode Actions.

Link copied to clipboard
class SkipBackwardAction : Action

Request the current source to skip to the previous item.

Link copied to clipboard
class SkipForwardAction : Action

Request the current source to skip to the next item.

Link copied to clipboard
class SkipToQueueItemAction(val queuePosition: Int) : Action

Request the current source to play an item at position queuePosition in its play queue.

Link copied to clipboard
enum StandardActionId : Enum<StandardActionId> , ActionId

Common Action IDs recognized by the stock IVI media service.

Link copied to clipboard
class StopAction : Action

Request the current source to stop playback.