MediaSession.SendSessionEvent(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.
Send a proprietary event to all MediaControllers listening to this Session.
[Android.Runtime.Register("sendSessionEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "")]
public void SendSessionEvent (string e, Android.OS.Bundle? extras);
[<Android.Runtime.Register("sendSessionEvent", "(Ljava/lang/String;Landroid/os/Bundle;)V", "")>]
member this.SendSessionEvent : string * Android.OS.Bundle -> unit
Parameters
- e
- String
The name of the event to send
- extras
- Bundle
Any extras included with the event
- Attributes
Remarks
Send a proprietary event to all MediaControllers listening to this Session. It's up to the Controller/Session owner to determine the meaning of any events.
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.