Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of HID, add IBluetoothInputDevice idl
Change-Id: Iadc79a425b4b6e12329d86dd2ac0782adcb0174d
- Loading branch information
Matthew Xie
authored and
Android (Google) Code Review
committed
Jul 17, 2012
1 parent
db44b20
commit bf246ef
Showing
4 changed files
with
76 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Copyright (C) 2012 Google Inc. | ||
*/ | ||
package android.bluetooth; | ||
|
||
import android.bluetooth.BluetoothDevice; | ||
|
||
/** | ||
* API for Bluetooth HID service | ||
* | ||
* {@hide} | ||
*/ | ||
interface IBluetoothInputDevice { | ||
// Public API | ||
boolean connect(in BluetoothDevice device); | ||
boolean disconnect(in BluetoothDevice device); | ||
List<BluetoothDevice> getConnectedDevices(); | ||
List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); | ||
int getConnectionState(in BluetoothDevice device); | ||
boolean setPriority(in BluetoothDevice device, int priority); | ||
int getPriority(in BluetoothDevice device); | ||
} |