public final class

ExoMediaDrm.ProvisionRequest

extends java.lang.Object

 java.lang.Object

↳androidx.media3.exoplayer.drm.ExoMediaDrm.ProvisionRequest

Overview

Contains data to request a certificate from a provisioning server.

Summary

Constructors
publicProvisionRequest(byte[] data[], java.lang.String defaultUrl)

Creates an instance.

Methods
public byte[]getData()

Returns the opaque provisioning request data.

public java.lang.StringgetDefaultUrl()

Returns the default URL of the provisioning server to which the request can be made, or the empty string if not known.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public ProvisionRequest(byte[] data[], java.lang.String 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.

Methods

public byte[] getData()

Returns the opaque provisioning request data.

public java.lang.String getDefaultUrl()

Returns the default URL of the provisioning server to which the request can be made, or the empty string if not known.