DrmInitData.SchemeData
class DrmInitData.SchemeData : Parcelable
Scheme initialization data.
Summary
Constants |
|
|---|---|
const Parcelable.Creator<DrmInitData.SchemeData!>! |
Public constructors |
|---|
SchemeData(uuid: UUID!, mimeType: String!, data: ByteArray?) |
SchemeData( |
Public functions |
|
|---|---|
Boolean |
canReplace(other: DrmInitData.SchemeData!)Returns whether this |
DrmInitData.SchemeData! |
copyWithData(data: ByteArray?)Returns a copy of this instance with the specified data. |
Int |
|
Boolean |
|
Boolean |
hasData()Returns whether |
Int |
hashCode() |
Boolean |
Returns whether this initialization data applies to the specified scheme. |
Unit |
writeToParcel(dest: Parcel!, flags: Int) |
Public properties |
|
|---|---|
ByteArray<Byte>? |
The initialization data. |
String? |
The URL of the server to which license requests should be made. |
String! |
The mimeType of |
UUID! |
The |
Constants
Public constructors
Public functions
canReplace
fun canReplace(other: DrmInitData.SchemeData!): Boolean
Returns whether this SchemeData can be used to replace other.
| Parameters | |
|---|---|
other: DrmInitData.SchemeData! |
A |
| Returns | |
|---|---|
Boolean |
Whether this |
copyWithData
fun copyWithData(data: ByteArray?): DrmInitData.SchemeData!
Returns a copy of this instance with the specified data.
| Parameters | |
|---|---|
data: ByteArray? |
The data to include in the copy. |
| Returns | |
|---|---|
DrmInitData.SchemeData! |
The new instance. |
Public properties
data
val data: ByteArray<Byte>?
The initialization data. May be null for scheme support checks only.
licenseServerUrl
val licenseServerUrl: String?
The URL of the server to which license requests should be made. May be null if unknown.