Interface PolarBleApiCallbackProvider
- 
                    
                    - All Implemented Interfaces:
 
 public interface PolarBleApiCallbackProviderContains the callbacks of the API. 
- 
                
                    
                    - 
                                
                            
                                Method SummaryModifier and Type Method Description abstract UnitblePowerStateChanged(Boolean powered)Bluetooth power state of the device where this SDK is running abstract UnitdeviceConnected(PolarDeviceInfo polarDeviceInfo)Device is now connected abstract UnitdeviceConnecting(PolarDeviceInfo polarDeviceInfo)Connecting to device abstract UnitdeviceDisconnected(PolarDeviceInfo polarDeviceInfo)Device is now disconnected abstract UnitbleSdkFeatureReady(String identifier, PolarBleApi.PolarBleSdkFeature feature)The feature is available in this device and it is ready. abstract UnitdisInformationReceived(String identifier, UUID uuid, String value)DIS information received. abstract Unit)>disInformationReceived(String identifier, <Error class: unknown class> disInfo)DIS information received. abstract UnitbatteryLevelReceived(String identifier, Integer level)Battery level received. abstract Unit)>batteryChargingStatusReceived(String identifier, <Error class: unknown class> chargingStatus)Battery charging status received. abstract Unit)>powerSourcesStateReceived(String identifier, <Error class: unknown class> powerSourcesState)Battery power sources state received. abstract UnithrNotificationReceived(String identifier, PolarHrData.PolarHrSample data)HR notification data received from device. abstract UnithtsNotificationReceived(String identifier, PolarHealthThermometerData data)Health Thermometer Service. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        blePowerStateChangedabstract Unit blePowerStateChanged(Boolean powered) Bluetooth power state of the device where this SDK is running - Parameters:
- powered- true = Bluetooth power on, false = Bluetooth power off
 
 - 
                                        deviceConnectedabstract Unit deviceConnected(PolarDeviceInfo polarDeviceInfo) Device is now connected - Parameters:
- polarDeviceInfo- Polar device information
 
 - 
                                        deviceConnectingabstract Unit deviceConnecting(PolarDeviceInfo polarDeviceInfo) Connecting to device - Parameters:
- polarDeviceInfo- Polar device information
 
 - 
                                        deviceDisconnectedabstract Unit deviceDisconnected(PolarDeviceInfo polarDeviceInfo) Device is now disconnected - Parameters:
- polarDeviceInfo- Polar device information
 
 - 
                                        bleSdkFeatureReadyabstract Unit bleSdkFeatureReady(String identifier, PolarBleApi.PolarBleSdkFeature feature) The feature is available in this device and it is ready. Called only for the features which are specified in PolarBleApi construction. - Parameters:
- identifier- Polar device id
- feature- feature is ready
 
 - 
                                        disInformationReceivedabstract Unit disInformationReceived(String identifier, UUID uuid, String value) DIS information received. Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_DEVICE_INFO - Parameters:
- identifier- Polar device id or bt address
- uuid- uuid of dis value
- value- dis value for uuid
 
 - 
                                        disInformationReceivedabstract Unit )>disInformationReceived(String identifier, <Error class: unknown class> disInfo) DIS information received. Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_DEVICE_INFO - Parameters:
- identifier- Polar device id or bt address
- disInfo- DisInfo key-value pair
 
 - 
                                        batteryLevelReceivedabstract Unit batteryLevelReceived(String identifier, Integer level) Battery level received. Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_BATTERY_INFO - Parameters:
- identifier- Polar device id or bt address
- level- battery level (value between 0-100%)
 
 - 
                                        batteryChargingStatusReceivedabstract Unit )>batteryChargingStatusReceived(String identifier, <Error class: unknown class> chargingStatus) Battery charging status received. Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_BATTERY_INFO - Parameters:
- identifier- Polar device id or bt address
- chargingStatus- Charging status ChargeState
 
 - 
                                        powerSourcesStateReceivedabstract Unit )>powerSourcesStateReceived(String identifier, <Error class: unknown class> powerSourcesState) Battery power sources state received. Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_BATTERY_INFO - Parameters:
- identifier- Polar device id or bt address
- powerSourcesState- PowerSourcesState
 
 - 
                                        hrNotificationReceivedabstract Unit hrNotificationReceived(String identifier, PolarHrData.PolarHrSample data) HR notification data received from device. Notice when using OH1 and PPI measurement is started hr received from this callback is 0. - Parameters:
- identifier- Polar device id or bt address
- data- @see polar.com.sdk.api.model.PolarHrData.
 
 - 
                                        htsNotificationReceivedabstract Unit htsNotificationReceived(String identifier, PolarHealthThermometerData data) Health Thermometer Service. Requires feature PolarBleApi.PolarBleSdkFeature.FEATURE_HTS - Parameters:
- identifier- Polar device id or bt address
- data- @see polar.com.sdk.api.model.PolarHealthThermometerData.
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-