Android.Bluetooth.BluetoothHeadset Members

The members of Android.Bluetooth.BluetoothHeadset are listed below.

See Also: Inherited members from Java.Lang.Object

Public Fields

const
ActionAudioStateChangedstring. Intent used to broadcast the change in the Audio Connection state of the A2DP profile.
const
ActionConnectionStateChangedstring. Intent used to broadcast the change in connection state of the Headset profile.
const
ActionVendorSpecificHeadsetEventstring. Intent used to broadcast that the headset has posted a vendor-specific event.
const
AtCmdTypeActionAtCommand (4). AT command type ACTION used with BluetoothHeadset.ExtraVendorSpecificHeadsetEventCmdType For example, AT+CHUP.
const
AtCmdTypeBasicAtCommand (3). AT command type BASIC used with BluetoothHeadset.ExtraVendorSpecificHeadsetEventCmdType For example, ATD.
const
AtCmdTypeReadAtCommand (0). AT command type READ used with BluetoothHeadset.ExtraVendorSpecificHeadsetEventCmdType For example, AT+VGM?.
const
AtCmdTypeSetAtCommand (2). AT command type SET used with BluetoothHeadset.ExtraVendorSpecificHeadsetEventCmdType For example, AT+VGM=.
const
AtCmdTypeTestAtCommand (1). AT command type TEST used with BluetoothHeadset.ExtraVendorSpecificHeadsetEventCmdType For example, AT+VGM=?.
const
ExtraVendorSpecificHeadsetEventArgsstring. A Parcelable String array extra field in BluetoothHeadset.ActionVendorSpecificHeadsetEvent intents that contains the arguments to the vendor-specific command.
const
ExtraVendorSpecificHeadsetEventCmdstring. A String extra field in BluetoothHeadset.ActionVendorSpecificHeadsetEvent intents that contains the name of the vendor-specific command.
const
ExtraVendorSpecificHeadsetEventCmdTypestring. An int extra field in BluetoothHeadset.ActionVendorSpecificHeadsetEvent intents that contains the AT command type of the vendor-specific command.
const
StateAudioConnectedHeadsetAudioState (12). Headset state when SCO audio is connected.
const
StateAudioConnectingHeadsetAudioState (11). Headset state when SCO audio is connecting.
const
StateAudioDisconnectedHeadsetAudioState (10). Headset state when SCO audio is not connected.
const
VendorResultCodeCommandAndroidstring. A vendor-specific command for unsolicited result code.
const
VendorSpecificHeadsetEventCompanyIdCategorystring. The intent category to be used with BluetoothHeadset.ActionVendorSpecificHeadsetEvent for the companyId

Public Properties

[read-only]
ConnectedDevicesIList<BluetoothDevice>. Get connected devices for this specific profile.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GetConnectionState(BluetoothDevice) : ProfileState
Get the current connection state of the profile
GetDevicesMatchingConnectionStates(ProfileState[]) : IList<BluetoothDevice>
Get a list of devices that match any of the given connection states.
IsAudioConnected(BluetoothDevice) : bool
Check if Bluetooth SCO audio is connected.
SendVendorSpecificResultCode(BluetoothDevice, string, string) : bool
Sends a vendor-specific unsolicited result code to the headset.
StartVoiceRecognition(BluetoothDevice) : bool
Start Bluetooth voice recognition.
StopVoiceRecognition(BluetoothDevice) : bool
Stop Bluetooth Voice Recognition mode, and shut down the Bluetooth audio path.