Skip to main content
Version: 14 May 2024

MLMediaDRMKeyRequestInputParam

Data type that encapsulates Key Request input arguments.

Public Attributes

InitData

The container-specific data, its meaning is interpreted based on the mime-type provided in the mime_type parameter. It could contain, for example, the content ID, key ID or other data obtained from the content metadata that is required in generating the key request.


public IntPtr InitData;


KeyType

The type of the request. The request may be to acquire keys for streaming or offline content, or to release previously acquired keys, which are identified by a key_set_id.


public KeyType KeyType;

TypeDescription
KeyTypeType of DRM key.

MimeType

The mime type of the content.


public string MimeType;


OptionalParams

Optional parameters included in the key request message to allow a client application to provide additional message parameters to the server.


public readonly IntPtr OptionalParams;