androidx.wear.watchface.complications


Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

Classes

ComplicationDataSourceInfo

Holder of details of a complication data source, for use by watch faces (for example, to show the current complication data source in settings).

ComplicationDataSourceInfoRetriever

Retrieves Result for a watch face's complications.

ComplicationDataSourceInfoRetriever.Result

Results for retrieveComplicationDataSourceInfo.

ComplicationSlotBounds

ComplicationSlotBounds are defined by fractional screen space coordinates in unit-square 0..1.

DefaultComplicationDataSourcePolicy

A watch face may wish to try and set one or more non-system data sources as the default data source for a complication.

SystemDataSources

Methods to retrieve the component names for system complication complication data sources.

Exceptions

ComplicationDataSourceInfoRetriever.ServiceDisconnectedException

Exception thrown if the service disconnects.