MediaPlayer.SetOnDrmInfoListener 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
SetOnDrmInfoListener(MediaPlayer+IOnDrmInfoListener) |
Register a callback to be invoked when the DRM info is known. |
SetOnDrmInfoListener(MediaPlayer+IOnDrmInfoListener, Handler) |
Register a callback to be invoked when the DRM info is known. |
SetOnDrmInfoListener(MediaPlayer+IOnDrmInfoListener)
Register a callback to be invoked when the DRM info is known.
[Android.Runtime.Register("setOnDrmInfoListener", "(Landroid/media/MediaPlayer$OnDrmInfoListener;)V", "GetSetOnDrmInfoListener_Landroid_media_MediaPlayer_OnDrmInfoListener_Handler", ApiSince=26)]
public virtual void SetOnDrmInfoListener (Android.Media.MediaPlayer.IOnDrmInfoListener? listener);
[<Android.Runtime.Register("setOnDrmInfoListener", "(Landroid/media/MediaPlayer$OnDrmInfoListener;)V", "GetSetOnDrmInfoListener_Landroid_media_MediaPlayer_OnDrmInfoListener_Handler", ApiSince=26)>]
abstract member SetOnDrmInfoListener : Android.Media.MediaPlayer.IOnDrmInfoListener -> unit
override this.SetOnDrmInfoListener : Android.Media.MediaPlayer.IOnDrmInfoListener -> unit
Parameters
- listener
- MediaPlayer.IOnDrmInfoListener
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
SetOnDrmInfoListener(MediaPlayer+IOnDrmInfoListener, Handler)
Register a callback to be invoked when the DRM info is known.
[Android.Runtime.Register("setOnDrmInfoListener", "(Landroid/media/MediaPlayer$OnDrmInfoListener;Landroid/os/Handler;)V", "GetSetOnDrmInfoListener_Landroid_media_MediaPlayer_OnDrmInfoListener_Landroid_os_Handler_Handler", ApiSince=26)]
public virtual void SetOnDrmInfoListener (Android.Media.MediaPlayer.IOnDrmInfoListener? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("setOnDrmInfoListener", "(Landroid/media/MediaPlayer$OnDrmInfoListener;Landroid/os/Handler;)V", "GetSetOnDrmInfoListener_Landroid_media_MediaPlayer_OnDrmInfoListener_Landroid_os_Handler_Handler", ApiSince=26)>]
abstract member SetOnDrmInfoListener : Android.Media.MediaPlayer.IOnDrmInfoListener * Android.OS.Handler -> unit
override this.SetOnDrmInfoListener : Android.Media.MediaPlayer.IOnDrmInfoListener * Android.OS.Handler -> unit
Parameters
- listener
- MediaPlayer.IOnDrmInfoListener
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.