MediaController.SendCommand(String, Bundle, ResultReceiver) 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.
Sends a generic command to the session.
[Android.Runtime.Register("sendCommand", "(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/ResultReceiver;)V", "")]
public void SendCommand (string command, Android.OS.Bundle? args, Android.OS.ResultReceiver? cb);
[<Android.Runtime.Register("sendCommand", "(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/ResultReceiver;)V", "")>]
member this.SendCommand : string * Android.OS.Bundle * Android.OS.ResultReceiver -> unit
Parameters
- command
- String
The command to send
- args
- Bundle
Any parameters to include with the command
The callback to receive the result on
- Attributes
Remarks
Sends a generic command to the session. It is up to the session creator to decide what commands and parameters they will support. As such, commands should only be sent to sessions that the controller owns.
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.