diff options
author | Jaikumar Ganesh <jaikumar@google.com> | 2011-04-01 16:33:09 -0700 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-06-24 11:31:43 -0700 |
commit | 2ea1e85dcb57d17f5782dbafa1d25eb51c630e4b (patch) | |
tree | 490a07dffcd15d712020f52d5e446c2cf58ec929 /core/java/android/bluetooth/IBluetoothHealthCallback.aidl | |
parent | 7096b660548a15938b2c2fcfda7aa41ec16c4a72 (diff) | |
download | frameworks_base-2ea1e85dcb57d17f5782dbafa1d25eb51c630e4b.zip frameworks_base-2ea1e85dcb57d17f5782dbafa1d25eb51c630e4b.tar.gz frameworks_base-2ea1e85dcb57d17f5782dbafa1d25eb51c630e4b.tar.bz2 |
Implement APIs for Bluetooth Health profile.
This first patch implements all the APIs.
The APIs wil be made public soon. The data specification
API will be submited in another patchset.
Change-Id: I2462683b7e07380e2c42474b0036b34d03b4bed1
Diffstat (limited to 'core/java/android/bluetooth/IBluetoothHealthCallback.aidl')
-rw-r--r-- | core/java/android/bluetooth/IBluetoothHealthCallback.aidl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/IBluetoothHealthCallback.aidl b/core/java/android/bluetooth/IBluetoothHealthCallback.aidl new file mode 100644 index 0000000..9fe5335 --- /dev/null +++ b/core/java/android/bluetooth/IBluetoothHealthCallback.aidl @@ -0,0 +1,31 @@ +/* + * Copyright (C) 2011, The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package android.bluetooth; + +import android.bluetooth.BluetoothDevice; +import android.bluetooth.BluetoothHealthAppConfiguration; +import android.os.ParcelFileDescriptor; + +/** + *@hide + */ +interface IBluetoothHealthCallback +{ + void onHealthAppConfigurationStatusChange(in BluetoothHealthAppConfiguration config, int status); + void onHealthChannelStateChange(in BluetoothHealthAppConfiguration config, + in BluetoothDevice device, int prevState, int newState, in ParcelFileDescriptor fd); +} |