Class PolarBleApiCallback
- 
                    
                    - All Implemented Interfaces:
- 
                            
                            com.polar.sdk.api.PolarBleApiCallbackProvider
 
 public abstract class PolarBleApiCallback implements PolarBleApiCallbackProvider Contains the callbacks of the API. 
- 
                
                    
                    - 
                                
                            
                                Constructor SummaryConstructors Constructor Description PolarBleApiCallback()
 - 
                                
                            
                                Method SummaryModifier and Type Method Description UnitblePowerStateChanged(Boolean powered)Bluetooth power state of the device where this SDK is running UnitdeviceConnected(PolarDeviceInfo polarDeviceInfo)Device is now connected UnitdeviceConnecting(PolarDeviceInfo polarDeviceInfo)Connecting to device UnitdeviceDisconnected(PolarDeviceInfo polarDeviceInfo)Device is now disconnected UnitbleSdkFeatureReady(String identifier, PolarBleApi.PolarBleSdkFeature feature)Called when the feature in connected device is available and it is ready. UnitdisInformationReceived(String identifier, UUID uuid, String value)DIS information received. UnitbatteryLevelReceived(String identifier, Integer level)Battery level received. Unit)>batteryChargingStatusReceived(String identifier, <Error class: unknown class> chargingStatus)Battery charging status received. Unit)>powerSourcesStateReceived(String identifier, <Error class: unknown class> powerSourcesState)Battery power sources state received. UnithrNotificationReceived(String identifier, PolarHrData.PolarHrSample data)HR notification data received from device. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        blePowerStateChangedUnit blePowerStateChanged(Boolean powered) Bluetooth power state of the device where this SDK is running - Parameters:
- powered- true = Bluetooth power on, false = Bluetooth power off
 
 - 
                                        deviceConnectedUnit deviceConnected(PolarDeviceInfo polarDeviceInfo) Device is now connected - Parameters:
- polarDeviceInfo- Polar device information
 
 - 
                                        deviceConnectingUnit deviceConnecting(PolarDeviceInfo polarDeviceInfo) Connecting to device - Parameters:
- polarDeviceInfo- Polar device information
 
 - 
                                        deviceDisconnectedUnit deviceDisconnected(PolarDeviceInfo polarDeviceInfo) Device is now disconnected - Parameters:
- polarDeviceInfo- Polar device information
 
 - 
                                        bleSdkFeatureReadyUnit bleSdkFeatureReady(String identifier, PolarBleApi.PolarBleSdkFeature feature) Called when the feature in connected device is available and it is ready. Called only for the features which are specified by PolarBleApi instantiation. - Parameters:
- identifier- Polar device id
- feature- feature is ready
 
 - 
                                        disInformationReceivedUnit 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
 
 - 
                                        batteryLevelReceivedUnit 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%)
 
 - 
                                        batteryChargingStatusReceivedUnit )>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
 
 - 
                                        powerSourcesStateReceivedUnit )>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
 
 - 
                                        hrNotificationReceivedUnit 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.
 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-