diff options
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHidDeviceCallback.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothHidDeviceCallback.java | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java b/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java index f519776276..3d407a6ca7 100644 --- a/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java +++ b/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java @@ -33,16 +33,14 @@ public abstract class BluetoothHidDeviceCallback { * , but can be also unsolicited in case e.g. Bluetooth was turned off in * which case application is unregistered automatically. * - * @param pluggedDevice {@link BluetoothDevice} object which represents host - * that currently has Virtual Cable established with device. Only - * valid when application is registered, can be <code>null</code> - * . - * @param config {@link BluetoothHidDeviceAppConfiguration} object which - * represents token required to unregister application using - * {@link BluetoothHidDevice#unregisterApp(BluetoothHidDeviceAppConfiguration)} - * . - * @param registered <code>true</code> if application is registered, - * <code>false</code> otherwise. + * @param pluggedDevice {@link BluetoothDevice} object which represents host that currently has + * Virtual Cable established with device. Only valid when application is registered, can be + * <code>null</code>. + * @param config {@link BluetoothHidDeviceAppConfiguration} object which represents token + * required to unregister application using + * {@link BluetoothHidDevice#unregisterApp(BluetoothHidDeviceAppConfiguration)}. + * @param registered <code>true</code> if application is registered, <code>false</code> + * otherwise. */ public void onAppStatusChanged(BluetoothDevice pluggedDevice, BluetoothHidDeviceAppConfiguration config, boolean registered) { @@ -55,8 +53,8 @@ public abstract class BluetoothHidDeviceCallback { * Application can assume than Virtual Cable is established when called with * {@link BluetoothProfile#STATE_CONNECTED} <code>state</code>. * - * @param device {@link BluetoothDevice} object representing host device - * which connection state was changed. + * @param device {@link BluetoothDevice} object representing host device which connection state + * was changed. * @param state Connection state as defined in {@link BluetoothProfile}. */ public void onConnectionStateChanged(BluetoothDevice device, int state) { @@ -69,10 +67,9 @@ public abstract class BluetoothHidDeviceCallback { * {@link BluetoothHidDevice#replyReport(BluetoothDevice, byte, byte, byte[])}. * * @param type Requested Report Type. - * @param id Requested Report Id, can be 0 if no Report Id are defined in - * descriptor. - * @param bufferSize Requested buffer size, application shall respond with - * at least given number of bytes. + * @param id Requested Report Id, can be 0 if no Report Id are defined in descriptor. + * @param bufferSize Requested buffer size, application shall respond with at least given number + * of bytes. */ public void onGetReport(BluetoothDevice device, byte type, byte id, int bufferSize) { Log.d(TAG, "onGetReport: device=" + device + " type=" + type + " id=" + id + " bufferSize=" |