ComplicationDataSourceInfoRetriever.Result


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.

public final class ComplicationDataSourceInfoRetriever.Result


Results for retrieveComplicationDataSourceInfo.

Summary

Public methods

final ComplicationDataSourceInfo

Details of the complication data source for that complication, or null if no complication data source is currently configured.

final int

The id for the complication slot, as passed to retrieveComplicationDataSourceInfo.

Public methods

getInfo

Added in 1.0.0
public final ComplicationDataSourceInfo getInfo()

Details of the complication data source for that complication, or null if no complication data source is currently configured.

getSlotId

Added in 1.0.0
public final int getSlotId()

The id for the complication slot, as passed to retrieveComplicationDataSourceInfo.