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.
Inheritors
Properties
Functions
Link copied to clipboard
open fun getLogo(sourceInfo: SourceInfo?, mediaItem: IviMediaItem?, sourceAttributionFormat: SourceAttributionFormat = SourceAttributionFormat()): DrawableResolver?
Retrieves logo of the media source.
Link copied to clipboard
open fun getName(sourceInfo: SourceInfo?, mediaItem: IviMediaItem?, sourceAttributionFormat: SourceAttributionFormat = SourceAttributionFormat()): StringResolver?
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.