MediaController.Callback.OnSessionEvent(String, Bundle) 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.
Override to handle custom events sent by the session owner without a specified interface.
[Android.Runtime.Register("onSessionEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnSessionEvent_Ljava_lang_String_Landroid_os_Bundle_Handler")]
public virtual void OnSessionEvent (string e, Android.OS.Bundle? extras);
[<Android.Runtime.Register("onSessionEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "GetOnSessionEvent_Ljava_lang_String_Landroid_os_Bundle_Handler")>]
abstract member OnSessionEvent : string * Android.OS.Bundle -> unit
override this.OnSessionEvent : string * Android.OS.Bundle -> unit
Parameters
- e
- String
- extras
- Bundle
Optional parameters for the event, may be null.
- Attributes
Remarks
Override to handle custom events sent by the session owner without a specified interface. Controllers should only handle these for sessions they own.
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.