Dela via


MediaPlayer.SetOnDrmConfigHelper(MediaPlayer+IOnDrmConfigHelper) Method

Definition

Register a callback to be invoked for configuration of the DRM object before the session is created.

[Android.Runtime.Register("setOnDrmConfigHelper", "(Landroid/media/MediaPlayer$OnDrmConfigHelper;)V", "GetSetOnDrmConfigHelper_Landroid_media_MediaPlayer_OnDrmConfigHelper_Handler", ApiSince=26)]
public virtual void SetOnDrmConfigHelper (Android.Media.MediaPlayer.IOnDrmConfigHelper? listener);
[<Android.Runtime.Register("setOnDrmConfigHelper", "(Landroid/media/MediaPlayer$OnDrmConfigHelper;)V", "GetSetOnDrmConfigHelper_Landroid_media_MediaPlayer_OnDrmConfigHelper_Handler", ApiSince=26)>]
abstract member SetOnDrmConfigHelper : Android.Media.MediaPlayer.IOnDrmConfigHelper -> unit
override this.SetOnDrmConfigHelper : Android.Media.MediaPlayer.IOnDrmConfigHelper -> unit

Parameters

listener
MediaPlayer.IOnDrmConfigHelper

the callback that will be run

Attributes

Remarks

Java documentation for android.media.MediaPlayer.setOnDrmConfigHelper(android.media.OnDrmConfigHelper).

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