internal void SendHidDeviceMouseEvent(string deviceAddress, BluetoothHidMouseData mouseData)
        {
            int ret = Interop.Bluetooth.SendHidDeviceMouseEvent(deviceAddress, mouseData);

            if (ret != (int)BluetoothError.None)
            {
                Log.Error(Globals.LogTag, "Failed to send mouse event to the remote device, Error - " + (BluetoothError)ret);
                BluetoothErrorFactory.ThrowBluetoothException(ret);
            }
        }
Exemple #2
0
 public void SendMouseEvent(BluetoothHidMouseData mouseData)
 {
     BluetoothHidDeviceImpl.Instance.SendHidDeviceMouseEvent(RemoteAddress, mouseData);
 }