IBluetoothInputDevice.aidl revision bf246ef0abb6ea354fe412b139dec1adb4e5791d
1/*
2 * Copyright (C) 2012 Google Inc.
3 */
4package android.bluetooth;
5
6import android.bluetooth.BluetoothDevice;
7
8/**
9 * API for Bluetooth HID service
10 *
11 * {@hide}
12 */
13interface IBluetoothInputDevice {
14    // Public API
15    boolean connect(in BluetoothDevice device);
16    boolean disconnect(in BluetoothDevice device);
17    List<BluetoothDevice> getConnectedDevices();
18    List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
19    int getConnectionState(in BluetoothDevice device);
20    boolean setPriority(in BluetoothDevice device, int priority);
21    int getPriority(in BluetoothDevice device);
22}
23