DefaultMediaSourceAttributionPolicy

Default implementation of MediaSourceAttributionPolicy.

Constructors

Link copied to clipboard
fun DefaultMediaSourceAttributionPolicy()

Inherited properties

Link copied to clipboard
open val nowPlayingIcon: DrawableResolver?

A DrawableResolver symbolizing the media that is currently playing.

Link copied to clipboard
open val queueIcon: DrawableResolver?

A DrawableResolver symbolizing the media that is queued to be played next.

Functions

Link copied to clipboard
open override fun getLogo(    sourceInfo: SourceInfo?,     mediaItem: IviMediaItem?,     sourceAttributionFormat: SourceAttributionFormat): DrawableResolver?

Retrieves logo of the media source.

Link copied to clipboard
open override fun getName(    sourceInfo: SourceInfo?,     mediaItem: IviMediaItem?,     sourceAttributionFormat: SourceAttributionFormat): StringResolver?

Retrieves name of the media source.

Inherited functions

Link copied to clipboard
open fun getStyle(): SourceStyle?

Retrieves the SourceStyle of the media source. Can be used to override the default accentColor of the source.