MediaPlayer.SetOnDrmPreparedListener 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.
Overloads
SetOnDrmPreparedListener(MediaPlayer+IOnDrmPreparedListener) |
Register a callback to be invoked when the DRM object is prepared. |
SetOnDrmPreparedListener(MediaPlayer+IOnDrmPreparedListener, Handler) |
Register a callback to be invoked when the DRM object is prepared. |
SetOnDrmPreparedListener(MediaPlayer+IOnDrmPreparedListener)
Register a callback to be invoked when the DRM object is prepared.
[Android.Runtime.Register("setOnDrmPreparedListener", "(Landroid/media/MediaPlayer$OnDrmPreparedListener;)V", "GetSetOnDrmPreparedListener_Landroid_media_MediaPlayer_OnDrmPreparedListener_Handler", ApiSince=26)]
public virtual void SetOnDrmPreparedListener (Android.Media.MediaPlayer.IOnDrmPreparedListener? listener);
[<Android.Runtime.Register("setOnDrmPreparedListener", "(Landroid/media/MediaPlayer$OnDrmPreparedListener;)V", "GetSetOnDrmPreparedListener_Landroid_media_MediaPlayer_OnDrmPreparedListener_Handler", ApiSince=26)>]
abstract member SetOnDrmPreparedListener : Android.Media.MediaPlayer.IOnDrmPreparedListener -> unit
override this.SetOnDrmPreparedListener : Android.Media.MediaPlayer.IOnDrmPreparedListener -> unit
Parameters
- listener
- MediaPlayer.IOnDrmPreparedListener
the callback that will be run
- Attributes
Remarks
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
SetOnDrmPreparedListener(MediaPlayer+IOnDrmPreparedListener, Handler)
Register a callback to be invoked when the DRM object is prepared.
[Android.Runtime.Register("setOnDrmPreparedListener", "(Landroid/media/MediaPlayer$OnDrmPreparedListener;Landroid/os/Handler;)V", "GetSetOnDrmPreparedListener_Landroid_media_MediaPlayer_OnDrmPreparedListener_Landroid_os_Handler_Handler", ApiSince=26)]
public virtual void SetOnDrmPreparedListener (Android.Media.MediaPlayer.IOnDrmPreparedListener? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("setOnDrmPreparedListener", "(Landroid/media/MediaPlayer$OnDrmPreparedListener;Landroid/os/Handler;)V", "GetSetOnDrmPreparedListener_Landroid_media_MediaPlayer_OnDrmPreparedListener_Landroid_os_Handler_Handler", ApiSince=26)>]
abstract member SetOnDrmPreparedListener : Android.Media.MediaPlayer.IOnDrmPreparedListener * Android.OS.Handler -> unit
override this.SetOnDrmPreparedListener : Android.Media.MediaPlayer.IOnDrmPreparedListener * Android.OS.Handler -> unit
Parameters
- listener
- MediaPlayer.IOnDrmPreparedListener
the callback that will be run
- handler
- Handler
- Attributes
Remarks
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.