MediaPlayer.ReleaseDrm Method

Definition

Releases the DRM session

[Android.Runtime.Register("releaseDrm", "()V", "GetReleaseDrmHandler", ApiSince=26)]
public virtual void ReleaseDrm ();
[<Android.Runtime.Register("releaseDrm", "()V", "GetReleaseDrmHandler", ApiSince=26)>]
abstract member ReleaseDrm : unit -> unit
override this.ReleaseDrm : unit -> unit
Attributes

Remarks

Releases the DRM session

The player has to have an active DRM session and be in stopped, or prepared state before this call is made. A reset() call will release the DRM session implicitly.

Java documentation for android.media.MediaPlayer.releaseDrm().

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