- device
- Bluetooth headset.
- command
- A vendor-specific command.
- arg
- The argument that will be attached to the command.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if command is null.
Sends a vendor-specific unsolicited result code to the headset.
The actual string to be sent is command + ": " + arg. For example, if command is BluetoothHeadset.VendorResultCodeCommandAndroid and arg is "0", the string "+ANDROID: 0" will be sent.
Currently only BluetoothHeadset.VendorResultCodeCommandAndroid is allowed as command.
Requires NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#BLUETOOTH permission.