Table of Contents

Class BluetoothHeadset

Namespace
Android.Bluetooth
Assembly
MASES.Netdroid.dll
public class BluetoothHeadset : BluetoothProfile, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IBluetoothProfile
Inheritance
JVMBridgeBase
JVMBridgeBase<BluetoothProfile>
BluetoothHeadset
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<BluetoothProfile>.IsAssignableFrom(IJavaType)
JVMBridgeBase<BluetoothProfile>.IsAssignableFrom<T>()
JVMBridgeBase<BluetoothProfile>.Execute<T>(params T[])
JVMBridgeBase<BluetoothProfile>.DynBridgeClazz
JVMBridgeBase<BluetoothProfile>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

BluetoothHeadset()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public BluetoothHeadset()

BluetoothHeadset(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public BluetoothHeadset(params object[] args)

Parameters

args object[]

Properties

ACTION_AUDIO_STATE_CHANGED

public static String ACTION_AUDIO_STATE_CHANGED { get; }

Property Value

String

ACTION_CONNECTION_STATE_CHANGED

public static String ACTION_CONNECTION_STATE_CHANGED { get; }

Property Value

String

ACTION_VENDOR_SPECIFIC_HEADSET_EVENT

public static String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT { get; }

Property Value

String

AT_CMD_TYPE_ACTION

public static int AT_CMD_TYPE_ACTION { get; }

Property Value

int

AT_CMD_TYPE_BASIC

public static int AT_CMD_TYPE_BASIC { get; }

Property Value

int

AT_CMD_TYPE_READ

public static int AT_CMD_TYPE_READ { get; }

Property Value

int

AT_CMD_TYPE_SET

public static int AT_CMD_TYPE_SET { get; }

Property Value

int

AT_CMD_TYPE_TEST

public static int AT_CMD_TYPE_TEST { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS

public static String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_ARGS { get; }

Property Value

String

EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD

public static String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD { get; }

Property Value

String

EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE

public static String EXTRA_VENDOR_SPECIFIC_HEADSET_EVENT_CMD_TYPE { get; }

Property Value

String

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

STATE_AUDIO_CONNECTED

public static int STATE_AUDIO_CONNECTED { get; }

Property Value

int

STATE_AUDIO_CONNECTING

public static int STATE_AUDIO_CONNECTING { get; }

Property Value

int

STATE_AUDIO_DISCONNECTED

public static int STATE_AUDIO_DISCONNECTED { get; }

Property Value

int

VENDOR_RESULT_CODE_COMMAND_ANDROID

public static String VENDOR_RESULT_CODE_COMMAND_ANDROID { get; }

Property Value

String

VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY

public static String VENDOR_SPECIFIC_HEADSET_EVENT_COMPANY_ID_CATEGORY { get; }

Property Value

String

Methods

GetConnectedDevices()

public List<BluetoothDevice> GetConnectedDevices()

Returns

List<BluetoothDevice>

List

GetConnectionState(BluetoothDevice)

public int GetConnectionState(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

int

int

GetDevicesMatchingConnectionStates(int[])

public List<BluetoothDevice> GetDevicesMatchingConnectionStates(int[] arg0)

Parameters

arg0 int[]

int

Returns

List<BluetoothDevice>

List

IsAudioConnected(BluetoothDevice)

public bool IsAudioConnected(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool

IsNoiseReductionSupported(BluetoothDevice)

public bool IsNoiseReductionSupported(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool

IsVoiceRecognitionSupported(BluetoothDevice)

public bool IsVoiceRecognitionSupported(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool

SendVendorSpecificResultCode(BluetoothDevice, String, String)

public bool SendVendorSpecificResultCode(BluetoothDevice arg0, String arg1, String arg2)

Parameters

arg0 BluetoothDevice

BluetoothDevice

arg1 String

String

arg2 String

String

Returns

bool

bool

StartVoiceRecognition(BluetoothDevice)

public bool StartVoiceRecognition(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool

StopVoiceRecognition(BluetoothDevice)

public bool StopVoiceRecognition(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool