Android.Bluetooth.BluetoothHeadset Class
Public API for controlling the Bluetooth Headset Service.

See Also: BluetoothHeadset Members

Syntax

[Android.Runtime.Register("android/bluetooth/BluetoothHeadset", DoNotGenerateAcw=true)]
public sealed class BluetoothHeadset : Java.Lang.Object, IBluetoothProfile, IDisposable

Remarks

Public API for controlling the Bluetooth Headset Service. This includes both Bluetooth Headset and Handsfree (v1.5) profiles.

BluetoothHeadset is a proxy object for controlling the Bluetooth Headset Service via IPC.

Use BluetoothAdapter.GetProfileProxy(Android.Content.Context, Android.Bluetooth.IBluetoothProfileServiceListener, Android.Bluetooth.IBluetoothProfileServiceListener) to get the BluetoothHeadset proxy object. Use BluetoothAdapter.CloseProfileProxy(ProfileType, Android.Bluetooth.IBluetoothProfile) to close the service connection.

Android only supports one connected Bluetooth Headset at a time. Each method is protected with its appropriate permission.

[Android Documentation]

Requirements

Namespace: Android.Bluetooth
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11