Dela via


MediaPlayer.IOnDrmConfigHelper.OnDrmConfig(MediaPlayer) Method

Definition

Called to give the app the opportunity to configure DRM before the session is created

[Android.Runtime.Register("onDrmConfig", "(Landroid/media/MediaPlayer;)V", "GetOnDrmConfig_Landroid_media_MediaPlayer_Handler:Android.Media.MediaPlayer/IOnDrmConfigHelperInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public void OnDrmConfig (Android.Media.MediaPlayer? mp);
[<Android.Runtime.Register("onDrmConfig", "(Landroid/media/MediaPlayer;)V", "GetOnDrmConfig_Landroid_media_MediaPlayer_Handler:Android.Media.MediaPlayer/IOnDrmConfigHelperInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member OnDrmConfig : Android.Media.MediaPlayer -> unit

Parameters

mp
MediaPlayer

the MediaPlayer associated with this callback

Attributes

Remarks

Called to give the app the opportunity to configure DRM before the session is created

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

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