Interface PolarWatchFaceApi

    • 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
    • Constructor Detail

    • Method Detail

      • getWatchFaceConfig

         abstract PolarWatchFaceConfig getWatchFaceConfig(String identifier)

        Read the current watch face configuration from the device KVS.

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

        PolarWatchFaceConfig reflecting what is currently on the device, or a config with an empty list if no complications are configured.

      • setWatchFaceConfig

         abstract Unit setWatchFaceConfig(String identifier, PolarWatchFaceConfig config)

        Set the watch face complications on the device.

        Writes the provided complication list to the device KVS watch face configuration

        Parameters:
        identifier - Polar device ID or BT address.
        config - Watch face configuration containing the ordered list of complications to enable.