lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 18

MediaDrm.ProvisionRequest

public static final class MediaDrm.ProvisionRequest
extends Object

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


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.

Inherited methods

Public methods

getData

added in API level 18
public byte[] getData ()

Get the opaque message data

Returns
byte[]

This value will never be null.

getDefaultUrl

added in API level 18
public String getDefaultUrl ()

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.

Returns
String

This value will never be null.