Class BluetoothHidDevice
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
initializerIJVMBridgeBaseInitializer
Properties
ACTION_CONNECTION_STATE_CHANGED
public static String ACTION_CONNECTION_STATE_CHANGED { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
ERROR_RSP_INVALID_PARAM
public static byte ERROR_RSP_INVALID_PARAM { get; set; }
Property Value
ERROR_RSP_INVALID_RPT_ID
public static byte ERROR_RSP_INVALID_RPT_ID { get; set; }
Property Value
ERROR_RSP_NOT_READY
public static byte ERROR_RSP_NOT_READY { get; set; }
Property Value
ERROR_RSP_SUCCESS
public static byte ERROR_RSP_SUCCESS { get; set; }
Property Value
ERROR_RSP_UNKNOWN
public static byte ERROR_RSP_UNKNOWN { get; set; }
Property Value
ERROR_RSP_UNSUPPORTED_REQ
public static byte ERROR_RSP_UNSUPPORTED_REQ { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
PROTOCOL_BOOT_MODE
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#PROTOCOL_BOOT_MODE
public static byte PROTOCOL_BOOT_MODE { get; set; }
Property Value
PROTOCOL_REPORT_MODE
public static byte PROTOCOL_REPORT_MODE { get; set; }
Property Value
REPORT_TYPE_FEATURE
public static byte REPORT_TYPE_FEATURE { get; set; }
Property Value
REPORT_TYPE_INPUT
public static byte REPORT_TYPE_INPUT { get; set; }
Property Value
REPORT_TYPE_OUTPUT
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#REPORT_TYPE_OUTPUT
public static byte REPORT_TYPE_OUTPUT { get; set; }
Property Value
SUBCLASS1_COMBO
public static byte SUBCLASS1_COMBO { get; set; }
Property Value
SUBCLASS1_KEYBOARD
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#SUBCLASS1_KEYBOARD
public static byte SUBCLASS1_KEYBOARD { get; set; }
Property Value
SUBCLASS1_MOUSE
public static byte SUBCLASS1_MOUSE { get; set; }
Property Value
SUBCLASS1_NONE
public static byte SUBCLASS1_NONE { get; set; }
Property Value
SUBCLASS2_CARD_READER
public static byte SUBCLASS2_CARD_READER { get; set; }
Property Value
SUBCLASS2_DIGITIZER_TABLET
public static byte SUBCLASS2_DIGITIZER_TABLET { get; set; }
Property Value
SUBCLASS2_GAMEPAD
public static byte SUBCLASS2_GAMEPAD { get; set; }
Property Value
SUBCLASS2_JOYSTICK
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#SUBCLASS2_JOYSTICK
public static byte SUBCLASS2_JOYSTICK { get; set; }
Property Value
SUBCLASS2_REMOTE_CONTROL
public static byte SUBCLASS2_REMOTE_CONTROL { get; set; }
Property Value
SUBCLASS2_SENSING_DEVICE
public static byte SUBCLASS2_SENSING_DEVICE { get; set; }
Property Value
SUBCLASS2_UNCATEGORIZED
public static byte SUBCLASS2_UNCATEGORIZED { get; set; }
Property Value
Methods
Connect(BluetoothDevice)
public bool Connect(BluetoothDevice arg0)
Parameters
Returns
Disconnect(BluetoothDevice)
public bool Disconnect(BluetoothDevice arg0)
Parameters
Returns
GetConnectedDevices()
public List<BluetoothDevice> GetConnectedDevices()
Returns
GetConnectionState(BluetoothDevice)
public int GetConnectionState(BluetoothDevice arg0)
Parameters
Returns
GetDevicesMatchingConnectionStates(int[])
public List<BluetoothDevice> GetDevicesMatchingConnectionStates(int[] arg0)
Parameters
Returns
RegisterApp(BluetoothHidDeviceAppSdpSettings, BluetoothHidDeviceAppQosSettings, BluetoothHidDeviceAppQosSettings, Executor, Callback)
public bool RegisterApp(BluetoothHidDeviceAppSdpSettings arg0, BluetoothHidDeviceAppQosSettings arg1, BluetoothHidDeviceAppQosSettings arg2, Executor arg3, BluetoothHidDevice.Callback arg4)
Parameters
arg0BluetoothHidDeviceAppSdpSettingsarg1BluetoothHidDeviceAppQosSettingsarg2BluetoothHidDeviceAppQosSettingsarg3Executorarg4BluetoothHidDevice.Callback
Returns
ReplyReport(BluetoothDevice, byte, byte, byte[])
public bool ReplyReport(BluetoothDevice arg0, byte arg1, byte arg2, byte[] arg3)
Parameters
arg0BluetoothDevicearg1bytearg2bytearg3byte[]
Returns
ReportError(BluetoothDevice, byte)
public bool ReportError(BluetoothDevice arg0, byte arg1)
Parameters
arg0BluetoothDevicearg1byte
Returns
SendReport(BluetoothDevice, int, byte[])
public bool SendReport(BluetoothDevice arg0, int arg1, byte[] arg2)
Parameters
arg0BluetoothDevicearg1intarg2byte[]
Returns
UnregisterApp()
public bool UnregisterApp()