Added in API level 24
SchemeInitData
class SchemeInitData
kotlin.Any | |
↳ | android.media.DrmInitData.SchemeInitData |
Scheme initialization data.
Summary
Public constructors | |
---|---|
SchemeInitData(uuid: UUID, mimeType: String, data: ByteArray) Creates a new instance with the given values. |
Public methods | |
---|---|
Boolean | |
Int |
hashCode() |
Properties | |
---|---|
static UUID |
The Nil UUID, as defined in RFC 4122, section 4. |
ByteArray! |
The initialization data. |
String! |
The mimeType of |
UUID |
The UUID associated with this scheme initialization data. |
Public constructors
SchemeInitData
Added in API level 31
SchemeInitData(
uuid: UUID,
mimeType: String,
data: ByteArray)
Creates a new instance with the given values.
Parameters | |
---|---|
uuid |
UUID: The UUID associated with this scheme initialization data. This value cannot be null . |
mimeType |
String: The mimeType of the initialization data. This value cannot be null . |
data |
ByteArray: The initialization data. This value cannot be null . |
Public methods
equals
Added in API level 24
fun equals(other: Any?): Boolean
Parameters | |
---|---|
obj |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj argument; false otherwise. |
Properties
UUID_NIL
Added in API level 30
static val UUID_NIL: UUID
The Nil UUID, as defined in RFC 4122, section 4.1.7.
uuid
Added in API level 30
val uuid: UUID
The UUID associated with this scheme initialization data. May be UUID_NIL
if unknown or not applicable.