Ersa Wearable Platform
Embedded smartwatch firmware and application framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ersa::app::ComplicationProvider Class Referenceabstract

#include <complication.h>

Inheritance diagram for ersa::app::ComplicationProvider:
Inheritance graph
[legend]

Public Member Functions

virtual ~ComplicationProvider ()=default
 
virtual ComplicationData get ()=0
 

Detailed Description

Extension point for watchface data such as weather, battery, or activity. Providers keep data acquisition separate from the watchface renderer so a face can consume a stable value without depending on a particular service.

Constructor & Destructor Documentation

◆ ~ComplicationProvider()

virtual ersa::app::ComplicationProvider::~ComplicationProvider ( )
virtualdefault

Permit provider implementations to be destroyed through this contract.

Member Function Documentation

◆ get()

virtual ComplicationData ersa::app::ComplicationProvider::get ( )
pure virtual

Return the provider's current presentation value.

Implemented in BatteryComplication.


The documentation for this class was generated from the following file: