Table of Contents

Class BluetoothHidDevice

Namespace
Android.Bluetooth
Assembly
MASES.Netdroid.dll
public class BluetoothHidDevice : BluetoothProfile, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IBluetoothProfile
Inheritance
BluetoothHidDevice
Implements
Inherited Members
Extension Methods

Constructors

BluetoothHidDevice(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public BluetoothHidDevice(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

ACTION_CONNECTION_STATE_CHANGED

public static String ACTION_CONNECTION_STATE_CHANGED { get; set; }

Property Value

String

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

ERROR_RSP_INVALID_PARAM

public static byte ERROR_RSP_INVALID_PARAM { get; set; }

Property Value

byte

ERROR_RSP_INVALID_RPT_ID

public static byte ERROR_RSP_INVALID_RPT_ID { get; set; }

Property Value

byte

ERROR_RSP_NOT_READY

public static byte ERROR_RSP_NOT_READY { get; set; }

Property Value

byte

ERROR_RSP_SUCCESS

public static byte ERROR_RSP_SUCCESS { get; set; }

Property Value

byte

ERROR_RSP_UNKNOWN

public static byte ERROR_RSP_UNKNOWN { get; set; }

Property Value

byte

ERROR_RSP_UNSUPPORTED_REQ

public static byte ERROR_RSP_UNSUPPORTED_REQ { get; set; }

Property Value

byte

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

PROTOCOL_BOOT_MODE

public static byte PROTOCOL_BOOT_MODE { get; set; }

Property Value

byte

PROTOCOL_REPORT_MODE

public static byte PROTOCOL_REPORT_MODE { get; set; }

Property Value

byte

REPORT_TYPE_FEATURE

public static byte REPORT_TYPE_FEATURE { get; set; }

Property Value

byte

REPORT_TYPE_INPUT

public static byte REPORT_TYPE_INPUT { get; set; }

Property Value

byte

REPORT_TYPE_OUTPUT

public static byte REPORT_TYPE_OUTPUT { get; set; }

Property Value

byte

SUBCLASS1_COMBO

public static byte SUBCLASS1_COMBO { get; set; }

Property Value

byte

SUBCLASS1_KEYBOARD

public static byte SUBCLASS1_KEYBOARD { get; set; }

Property Value

byte

SUBCLASS1_MOUSE

public static byte SUBCLASS1_MOUSE { get; set; }

Property Value

byte

SUBCLASS1_NONE

public static byte SUBCLASS1_NONE { get; set; }

Property Value

byte

SUBCLASS2_CARD_READER

public static byte SUBCLASS2_CARD_READER { get; set; }

Property Value

byte

SUBCLASS2_DIGITIZER_TABLET

public static byte SUBCLASS2_DIGITIZER_TABLET { get; set; }

Property Value

byte

SUBCLASS2_GAMEPAD

public static byte SUBCLASS2_GAMEPAD { get; set; }

Property Value

byte

SUBCLASS2_JOYSTICK

public static byte SUBCLASS2_JOYSTICK { get; set; }

Property Value

byte

SUBCLASS2_REMOTE_CONTROL

public static byte SUBCLASS2_REMOTE_CONTROL { get; set; }

Property Value

byte

SUBCLASS2_SENSING_DEVICE

public static byte SUBCLASS2_SENSING_DEVICE { get; set; }

Property Value

byte

SUBCLASS2_UNCATEGORIZED

public static byte SUBCLASS2_UNCATEGORIZED { get; set; }

Property Value

byte

Methods

Connect(BluetoothDevice)

public bool Connect(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool

Disconnect(BluetoothDevice)

public bool Disconnect(BluetoothDevice arg0)

Parameters

arg0 BluetoothDevice

BluetoothDevice

Returns

bool

bool

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

RegisterApp(BluetoothHidDeviceAppSdpSettings, BluetoothHidDeviceAppQosSettings, BluetoothHidDeviceAppQosSettings, Executor, Callback)

public bool RegisterApp(BluetoothHidDeviceAppSdpSettings arg0, BluetoothHidDeviceAppQosSettings arg1, BluetoothHidDeviceAppQosSettings arg2, Executor arg3, BluetoothHidDevice.Callback arg4)

Parameters

arg0 BluetoothHidDeviceAppSdpSettings

BluetoothHidDeviceAppSdpSettings

arg1 BluetoothHidDeviceAppQosSettings

BluetoothHidDeviceAppQosSettings

arg2 BluetoothHidDeviceAppQosSettings

BluetoothHidDeviceAppQosSettings

arg3 Executor

Executor

arg4 BluetoothHidDevice.Callback

BluetoothHidDevice.Callback

Returns

bool

bool

ReplyReport(BluetoothDevice, byte, byte, byte[])

public bool ReplyReport(BluetoothDevice arg0, byte arg1, byte arg2, byte[] arg3)

Parameters

arg0 BluetoothDevice

BluetoothDevice

arg1 byte

byte

arg2 byte

byte

arg3 byte[]

byte

Returns

bool

bool

ReportError(BluetoothDevice, byte)

public bool ReportError(BluetoothDevice arg0, byte arg1)

Parameters

arg0 BluetoothDevice

BluetoothDevice

arg1 byte

byte

Returns

bool

bool

SendReport(BluetoothDevice, int, byte[])

public bool SendReport(BluetoothDevice arg0, int arg1, byte[] arg2)

Parameters

arg0 BluetoothDevice

BluetoothDevice

arg1 int

int

arg2 byte[]

byte

Returns

bool

bool

UnregisterApp()

public bool UnregisterApp()

Returns

bool

bool