SourceInfo
constructor(id: SourceId, displayName: String, icon: Icon, isReady: Boolean, loginIntent: PendingIntent? = null)
Parameters
id
Unique SourceId of this source.
displayName
Source name to display in the user interface. Possibly not unique.
icon
Icon to visually represent the source in the user interface.
isReady
Whether the media source is ready to browse and play content. When this flag is false
, browsing the source content will fail or will return no content.
loginIntent
Android PendingIntent to perform if the source needs a login. This field will be null
when a login is not currently necessary, or when a login is not supported at all.