MediaSourceAttributionPolicy
A policy for media source attributes customization.
This policy is used to acquire a source's name and logo, and to tailor visual elements such as icons to the source's branding.
Properties
Link copied to clipboard
A DrawableResolver symbolizing the media that is currently playing.
Link copied to clipboard
A DrawableResolver symbolizing the media that is queued to be played next.
Functions
Link copied to clipboard
open fun getLogo( sourceInfo: SourceInfo?, mediaItem: IviMediaItem?, sourceAttributionFormat: SourceAttributionFormat = SourceAttributionFormat()): DrawableResolver?
Content copied to clipboard
Retrieves logo of the media source.
Link copied to clipboard
open fun getName( sourceInfo: SourceInfo?, mediaItem: IviMediaItem?, sourceAttributionFormat: SourceAttributionFormat = SourceAttributionFormat()): StringResolver?
Content copied to clipboard
Retrieves name of the media source.
Link copied to clipboard
Retrieves the SourceStyle of the media source. Can be used to override the default accentColor
of the source.