ProviderInfoRetriever.OnProviderInfoReceivedCallback

public static abstract class ProviderInfoRetriever.OnProviderInfoReceivedCallback
extends Object

java.lang.Object
   ↳ android.support.wearable.complications.ProviderInfoRetriever.OnProviderInfoReceivedCallback


This class is deprecated.
use the Jetpack Wear Watch Face libraries instead.

Interface for a callback to be invoked when provider info is received.

Summary

Public constructors

OnProviderInfoReceivedCallback()

Public methods

abstract void onProviderInfoReceived(int watchFaceComplicationId, ComplicationProviderInfo info)

Called when details of the provider for a particular complication has been received.

void onRetrievalFailed()

Called if retrieval of provider info fails.

Inherited methods

Public constructors

OnProviderInfoReceivedCallback

public OnProviderInfoReceivedCallback ()

Public methods

onProviderInfoReceived

public abstract void onProviderInfoReceived (int watchFaceComplicationId, 
                ComplicationProviderInfo info)

Called when details of the provider for a particular complication has been received.

Parameters
watchFaceComplicationId int: the id for the complication, as provided to ProviderInfoRetriever.retrieveProviderInfo(ProviderInfoRetriever.OnProviderInfoReceivedCallback, ComponentName, int...)

info ComplicationProviderInfo: containing details of the provider for that complication, or null if no provider is currently configured

onRetrievalFailed

public void onRetrievalFailed ()

Called if retrieval of provider info fails.