Android.Media.MediaDrm.RestoreKeys Method
Restore persisted offline keys into a new session. keySetId identifies the keys to load, obtained from a prior call to MediaDrm.ProvideKeyResponse(Byte[], System.Byte[]).

Syntax

[Android.Runtime.Register("restoreKeys", "([B[B)V", "")]
public void RestoreKeys (byte[] sessionId, byte[] keySetId)

Parameters

sessionId
the session ID for the DRM session
keySetId
identifies the saved key set to restore

Remarks

Restore persisted offline keys into a new session. keySetId identifies the keys to load, obtained from a prior call to MediaDrm.ProvideKeyResponse(Byte[], System.Byte[]).

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 18