docs/doc/reference/com/google/android/exoplayer2/drm/ExoMediaDrm.ProvisionRequest.html
Package com.google.android.exoplayer2.drm
Enclosing interface:ExoMediaDrm
public static final classExoMediaDrm.ProvisionRequestextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Contains data to request a certificate from a provisioning server.
See Also:MediaDrm.ProvisionRequest
Constructors | Constructor | Description |
| --- | --- |
| ProvisionRequest(byte[] data, String defaultUrl) |
Creates an instance.
|
All Methods Instance Methods Concrete Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| byte[] | getData() |
Returns the opaque provisioning request data.
|
| String | getDefaultUrl() |
Returns the default URL of the provisioning server to which the request can be made, or the empty string if not known.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public ProvisionRequest(byte[] data,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")defaultUrl)
Creates an instance.
Parameters:data - The opaque provisioning request data.defaultUrl - The default URL of the provisioning server to which the request can be made, or the empty string if not known.
-
public byte[] getData()
Returns the opaque provisioning request data.
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getDefaultUrl()
Returns the default URL of the provisioning server to which the request can be made, or the empty string if not known.