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

ProviderInfo

open class ProviderInfo
kotlin.Any
   ↳ androidx.wear.complications.ProviderInfoRetriever.ProviderInfo

Results for retrieveProviderInfo.

Summary

Public methods
open ComplicationProviderInfo?

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

open Int

Returns the id for the complication, as provided to retrieveProviderInfo.

Public methods

getInfo

@Nullable open fun getInfo(): ComplicationProviderInfo?

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

getWatchFaceComplicationId

open fun getWatchFaceComplicationId(): Int

Returns the id for the complication, as provided to retrieveProviderInfo.