Android APIs
public static final class

MediaDrm.ProvisionRequest

extends Object
java.lang.Object
   ↳ android.media.MediaDrm.ProvisionRequest

Class Overview

Contains the opaque data an app uses to request a certificate from a provisioning server

Summary

Public Methods
byte[] getData()
Get the opaque message data
String getDefaultUrl()
Get the default URL to use when sending the provision request message to a server, if known.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public byte[] getData ()

Added in API level 18

Get the opaque message data

public String getDefaultUrl ()

Added in API level 18

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.