Package com.tomtom.ivi.appsuite.media.api.common.frontend.policies
Media item policies; these classes are used to customize the media frontend for a specific source.
Types
A user flow performed when the user requests to browse a media source.
The default policy for configuring media controls. It does not add any customControls, nor does it override any controls in replacedStandardControls.
Default implementation of MediaItemComparisonPolicy.
Default implementation of MediaItemMappingPolicy.
Default implementation of MediaSourceAttributionPolicy.
The default general source definition policy.
A user flow performed when the source provides an Intent to launch an external flow.
Determines if the media item represents a playlist.
This policy can be used to determine whether to open the playlist panel for a given IviMediaItem.
The policy that configures the available media controls. A media control is a visual control for a media-related command; see MediaControl.
The maximum numbers of media controls to display based on the available space.
Returns true
if the two IviMediaItems represent the same media object; false
otherwise.
Maps IviMediaItem into a different IviMediaItem by changing its fields as needed.
This is used to improve how the content of IviMediaItems is displayed to the user.
For example, if the media source places both song title and artist in the IviMediaItem.title field, this can be used to split it into IviMediaItem.title and IviMediaItem.artist.
A policy for media source attributes customization.
A container of customization policies for a media source.
Specification of what format source attribution is requested in.
Policy to define general aspects of the media source.
Style for a media source. Provides branding colors.
A policy to override the default user flow behavior for a media source.
A result returned by an user flow. Can be used to notify the user.