BluetoothHealthCallbackpublic abstract class BluetoothHealthCallback extends Object This abstract class is used to implement {@link BluetoothHealth} callbacks. |
Fields Summary |
---|
private static final String | TAG |
Methods Summary |
---|
public void | onHealthAppConfigurationStatusChange(BluetoothHealthAppConfiguration config, int status)Callback to inform change in registration state of the health
application.
This callback is called on the binder thread (not on the UI thread)
Log.d(TAG, "onHealthAppConfigurationStatusChange: " + config + "Status: " + status);
| public void | onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, android.os.ParcelFileDescriptor fd, int channelId)Callback to inform change in channel state.
Its the responsibility of the implementor of this callback to close the
parcel file descriptor when done. This callback is called on the Binder
thread (not the UI thread)
Log.d(TAG, "onHealthChannelStateChange: " + config + "Device: " + device +
"prevState:" + prevState + "newState:" + newState + "ParcelFd:" + fd +
"ChannelId:" + channelId);
|
|