Skip to content

Most visited

Recently visited

navigation
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

From class java.lang.Object

Public methods

getData

Added in API level 18
byte[] getData ()

Get the opaque message data

Returns
byte[]

getDefaultUrl

Added in API level 18
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 site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.