MediaDrm.RestoreKeys(Byte[], Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restore persisted offline keys into a new session.
[Android.Runtime.Register("restoreKeys", "([B[B)V", "")]
public void RestoreKeys (byte[] sessionId, byte[] keySetId);
[<Android.Runtime.Register("restoreKeys", "([B[B)V", "")>]
member this.RestoreKeys : byte[] * byte[] -> unit
Parameters
- sessionId
- Byte[]
the session ID for the DRM session
- keySetId
- Byte[]
identifies the saved key set to restore
- Attributes
Remarks
Restore persisted offline keys into a new session. keySetId identifies the keys to load, obtained from a prior call to #provideKeyResponse
.
Java documentation for android.media.MediaDrm.restoreKeys(byte[], byte[])
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.