Added in API level 18
ProvisionRequest
class ProvisionRequest
kotlin.Any | |
↳ | android.media.MediaDrm.ProvisionRequest |
Contains the opaque data an app uses to request a certificate from a provisioning server
Summary
Public methods | |
---|---|
ByteArray |
getData() Get the opaque message data |
String |
Get the default URL to use when sending the provision request message to a server, if known. |
Public methods
getData
Added in API level 18
fun getData(): ByteArray
Get the opaque message data
Return | |
---|---|
ByteArray |
This value cannot be null . |
getDefaultUrl
Added in API level 18
fun getDefaultUrl(): String
Get the default URL to use when sending the provision request message to a server, if known. The app may prefer to use a different provisioning server URL obtained from other sources. This method returns an empty string if the default URL is not known.
Return | |
---|---|
String |
This value cannot be null . |