Interface PolarDeviceToHostNotificationsApi

  • All Implemented Interfaces:

    
    public interface PolarDeviceToHostNotificationsApi
    
                        

    API for receiving device-to-host notifications from Polar devices.

    Device to host notifications are used to inform client apps of important device state changes, such as negotiating data syncing, battery status updates, and training session changes.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Flowable<PolarD2HNotificationData> observeDeviceToHostNotifications(String identifier) Streams for received device to host notifications endlessly.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • observeDeviceToHostNotifications

         abstract Flowable<PolarD2HNotificationData> observeDeviceToHostNotifications(String identifier)

        Streams for received device to host notifications endlessly. Only dispose, take(1) etc... stops stream.

        Parameters:
        identifier - Polar device ID or BT address
        Returns:

        Flowable stream of PolarD2HNotificationData Produces onNext after successfully received notification. onCompleted not produced unless stream is further configured. onError, see BlePsFtpException, BleGattException