MediaPlayer.IOnDrmConfigHelper.OnDrmConfig(MediaPlayer) 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.
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
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.