diff options
| author | Yue Lixin <a5206c@motorola.com> | 2009-07-09 16:56:43 +0800 |
|---|---|---|
| committer | Nick Pelly <npelly@google.com> | 2009-08-19 20:44:21 -0700 |
| commit | efc6e07d40fd0505d9c8bf14f84ef8262bf1f0bb (patch) | |
| tree | 90b4589206d68620ef1ecf62f949ecc04279dfbe /framework/java/android/bluetooth/BluetoothDevice.java | |
| parent | 753da539da89aac6762ef2183680205f8fd4e95a (diff) | |
Add Bluetooth device picker support
- add Intent and Extra definition
- move profile filter into BluetoothClass
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothDevice.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothDevice.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothDevice.java b/framework/java/android/bluetooth/BluetoothDevice.java index 1a97924e1e..0a71961992 100644 --- a/framework/java/android/bluetooth/BluetoothDevice.java +++ b/framework/java/android/bluetooth/BluetoothDevice.java @@ -55,6 +55,16 @@ public final class BluetoothDevice implements Parcelable { * @hide */ public static final int BOND_BONDING = 2; + /** Ask device picker to show all kinds of BT devices. + * @hide */ + public static final int DEVICE_PICKER_FILTER_TYPE_ALL = 0; + /** Ask device picker to show BT devices that support AUDIO profiles. + * @hide */ + public static final int DEVICE_PICKER_FILTER_TYPE_AUDIO = 1; + /** Ask device picker to show BT devices that support Object Transfer. + * @hide */ + public static final int DEVICE_PICKER_FILTER_TYPE_TRANSFER = 2; + //TODO: Unify these result codes in BluetoothResult or BluetoothError /** A bond attempt failed because pins did not match, or remote device did * not respond to pin request in time |
