Android.Media.Session.MediaController.SendCommand Method
Sends a generic command to the session.

Syntax

[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)

Parameters

command
The command to send
args
Any parameters to include with the command
cb
The callback to receive the result on

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.

[Android Documentation]

Requirements

Namespace: Android.Media.Session
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0