Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

ProviderInfoRetriever.OnProviderInfoReceivedCallback

public static abstract class ProviderInfoRetriever.OnProviderInfoReceivedCallback
extends Object

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


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

Summary

Public constructors

ProviderInfoRetriever.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

From class java.lang.Object

Public constructors

ProviderInfoRetriever.OnProviderInfoReceivedCallback

ProviderInfoRetriever.OnProviderInfoReceivedCallback ()

Public methods

onProviderInfoReceived

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 retrieveProviderInfo(ProviderInfoRetriever.OnProviderInfoReceivedCallback, ComponentName, int...)

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

onRetrievalFailed

void onRetrievalFailed ()

Called if retrieval of provider info fails.