Class BluetoothHidDevice
public class BluetoothHidDevice : BluetoothProfile, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IBluetoothProfile
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<BluetoothProfile>BluetoothHidDevice
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<BluetoothProfile>.IsAssignableFrom(IJavaType)JVMBridgeBase<BluetoothProfile>.IsAssignableFrom<T>()JVMBridgeBase<BluetoothProfile>.Execute<T>(params T[])JVMBridgeBase<BluetoothProfile>.DynBridgeClazzJVMBridgeBase<BluetoothProfile>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
BluetoothHidDevice()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public BluetoothHidDevice()
BluetoothHidDevice(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 BluetoothHidDevice(params object[] args)
Parameters
argsobject[]
Properties
ACTION_CONNECTION_STATE_CHANGED
public static String ACTION_CONNECTION_STATE_CHANGED { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ERROR_RSP_INVALID_PARAM
public static byte ERROR_RSP_INVALID_PARAM { get; }
Property Value
ERROR_RSP_INVALID_RPT_ID
public static byte ERROR_RSP_INVALID_RPT_ID { get; }
Property Value
ERROR_RSP_NOT_READY
public static byte ERROR_RSP_NOT_READY { get; }
Property Value
ERROR_RSP_SUCCESS
public static byte ERROR_RSP_SUCCESS { get; }
Property Value
ERROR_RSP_UNKNOWN
public static byte ERROR_RSP_UNKNOWN { get; }
Property Value
ERROR_RSP_UNSUPPORTED_REQ
public static byte ERROR_RSP_UNSUPPORTED_REQ { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
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; }
Property Value
PROTOCOL_REPORT_MODE
public static byte PROTOCOL_REPORT_MODE { get; }
Property Value
REPORT_TYPE_FEATURE
public static byte REPORT_TYPE_FEATURE { get; }
Property Value
REPORT_TYPE_INPUT
public static byte REPORT_TYPE_INPUT { get; }
Property Value
REPORT_TYPE_OUTPUT
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#REPORT_TYPE_OUTPUT
public static byte REPORT_TYPE_OUTPUT { get; }
Property Value
SUBCLASS1_COMBO
public static byte SUBCLASS1_COMBO { get; }
Property Value
SUBCLASS1_KEYBOARD
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#SUBCLASS1_KEYBOARD
public static byte SUBCLASS1_KEYBOARD { get; }
Property Value
SUBCLASS1_MOUSE
public static byte SUBCLASS1_MOUSE { get; }
Property Value
SUBCLASS1_NONE
public static byte SUBCLASS1_NONE { get; }
Property Value
SUBCLASS2_CARD_READER
public static byte SUBCLASS2_CARD_READER { get; }
Property Value
SUBCLASS2_DIGITIZER_TABLET
public static byte SUBCLASS2_DIGITIZER_TABLET { get; }
Property Value
SUBCLASS2_GAMEPAD
public static byte SUBCLASS2_GAMEPAD { get; }
Property Value
SUBCLASS2_JOYSTICK
https://developer.android.com/reference/android/bluetooth/BluetoothHidDevice.html#SUBCLASS2_JOYSTICK
public static byte SUBCLASS2_JOYSTICK { get; }
Property Value
SUBCLASS2_REMOTE_CONTROL
public static byte SUBCLASS2_REMOTE_CONTROL { get; }
Property Value
SUBCLASS2_SENSING_DEVICE
public static byte SUBCLASS2_SENSING_DEVICE { get; }
Property Value
SUBCLASS2_UNCATEGORIZED
public static byte SUBCLASS2_UNCATEGORIZED { get; }
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()