Google is committed to advancing racial equity for Black communities. See how.

ProviderInfoRetriever.ProviderInfo

public static class ProviderInfoRetriever.ProviderInfo
extends Object

java.lang.Object
   ↳ androidx.wear.complications.ProviderInfoRetriever.ProviderInfo


Results for ProviderInfoRetriever.retrieveProviderInfo(ComponentName, int[]).

Summary

Public methods

ComplicationProviderInfo getInfo()

Return details of the provider for that complication, or null if no provider is currently configured.

int getWatchFaceComplicationId()

Returns the id for the complication, as provided to ProviderInfoRetriever.retrieveProviderInfo(ComponentName, int[]).

Inherited methods

Public methods

getInfo

public ComplicationProviderInfo getInfo ()

Return details of the provider for that complication, or null if no provider is currently configured.

Returns
ComplicationProviderInfo

getWatchFaceComplicationId

public int getWatchFaceComplicationId ()

Returns the id for the complication, as provided to ProviderInfoRetriever.retrieveProviderInfo(ComponentName, int[]).

Returns
int