MediaCas.SetEventListener(MediaCas+IEventListener, Handler) 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.
Set an event listener to receive notifications from the MediaCas instance.
[Android.Runtime.Register("setEventListener", "(Landroid/media/MediaCas$EventListener;Landroid/os/Handler;)V", "", ApiSince=26)]
public void SetEventListener (Android.Media.MediaCas.IEventListener? listener, Android.OS.Handler? handler);
[<Android.Runtime.Register("setEventListener", "(Landroid/media/MediaCas$EventListener;Landroid/os/Handler;)V", "", ApiSince=26)>]
member this.SetEventListener : Android.Media.MediaCas.IEventListener * Android.OS.Handler -> unit
Parameters
- listener
- MediaCas.IEventListener
the event listener to be set.
- handler
- Handler
the handler whose looper the event listener will be called on. If handler is null, we'll try to use current thread's looper, or the main looper. If neither are available, an internal thread will be created instead.
- 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.