Sdílet prostřednictvím


MediaPlayer.RestoreKeys(Byte[]) Method

Definition

Restore persisted offline keys into a new session.

[Android.Runtime.Register("restoreKeys", "([B)V", "GetRestoreKeys_arrayBHandler", ApiSince=26)]
public virtual void RestoreKeys (byte[] keySetId);
[<Android.Runtime.Register("restoreKeys", "([B)V", "GetRestoreKeys_arrayBHandler", ApiSince=26)>]
abstract member RestoreKeys : byte[] -> unit
override this.RestoreKeys : byte[] -> unit

Parameters

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.MediaPlayer.restoreKeys(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.

Applies to