SourceInfo
Information about a media source.
SourceInfo objects are compared by all their fields, except icon. The icon has to be ignored, since Icons, and in general Drawables, are not easily comparable. The only way to properly compare icons is pixel by pixel, and it is seemingly still error-prone, and very resource-intensive; not discounting the fact that it's not useful to compare SourceInfo instances (their id would be enough).
Parameters
Unique SourceId of this source.
Source name to display in the user interface. Possibly not unique.
Icon to visually represent the source in the user interface.
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.
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.