Package com.polar.sdk.api
Interface PolarCompanionDeviceApi.PolarCompanionDeviceCallback
-
- All Implemented Interfaces:
public interface PolarCompanionDeviceApi.PolarCompanionDeviceCallbackCallback describing device presence / association events surfaced through the wrapped Companion Device Manager APIs.
-
-
Method Summary
Modifier and Type Method Description UnitonDeviceAppeared(String macAddress)The device is now in BLE range (system observed presence). UnitonDeviceDisappeared(String macAddress)The device is no longer in BLE range (system observed absence). UnitonAssociationSucceeded(String macAddress)Association with the device succeeded and can now be used with startObservingDevicePresence. UnitonError(String message)Association attempt or presence observation failed. -
-
Method Detail
-
onDeviceAppeared
Unit onDeviceAppeared(String macAddress)
The device is now in BLE range (system observed presence).
-
onDeviceDisappeared
Unit onDeviceDisappeared(String macAddress)
The device is no longer in BLE range (system observed absence).
-
onAssociationSucceeded
Unit onAssociationSucceeded(String macAddress)
Association with the device succeeded and can now be used with startObservingDevicePresence.
-
-
-
-