SourceId

@IviExperimental(reasons = [])
open class SourceId(val packageName: String, val className: String) : Parcelable

Unique identifier for a media source.

Since an app could offer multiple services, a SourceId is composed of:

This class is open to allow pre-defining source IDs as objects. For example: object MySourceId("com.test", "com.test.service.MySourceService"): SourceId

Constructors

Link copied to clipboard
constructor(packageName: String, className: String)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)