Stay organized with collections
Save and categorize content based on your preferences.
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
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
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.
onRetrievalFailed
public void onRetrievalFailed ()
Called if retrieval of provider info fails.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# ProviderInfoRetriever.OnProviderInfoReceivedCallback\n\nSummary: [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \n\nProviderInfoRetriever.OnProviderInfoReceivedCallback\n====================================================\n\n\n`\npublic\nstatic\n\nabstract\nclass\nProviderInfoRetriever.OnProviderInfoReceivedCallback\n`\n\n\n`\n\nextends `[Object](http://developer.android.com/reference/java/lang/Object.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---------------------------------------------------------------------------------------------|\n| [java.lang.Object](http://developer.android.com/reference/java/lang/Object.html) ||\n| ↳ | android.support.wearable.complications.ProviderInfoRetriever.OnProviderInfoReceivedCallback |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This class is deprecated.** \n\nuse the [Jetpack Wear\nWatch Face](../../../../../jetpack/androidx/releases/wear-watchface) libraries instead.\n\nInterface for a callback to be invoked when provider info is received.\n\nSummary\n-------\n\n| ### Public constructors ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[OnProviderInfoReceivedCallback](../../../../../reference/android/support/wearable/complications/ProviderInfoRetriever.OnProviderInfoReceivedCallback.html#OnProviderInfoReceivedCallback())`() ` |\n\n| ### Public methods ||\n|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onProviderInfoReceived](../../../../../reference/android/support/wearable/complications/ProviderInfoRetriever.OnProviderInfoReceivedCallback.html#onProviderInfoReceived(int,%20android.support.wearable.complications.ComplicationProviderInfo))`(int watchFaceComplicationId, `[ComplicationProviderInfo](../../../../../reference/android/support/wearable/complications/ComplicationProviderInfo.html)` info) ` Called when details of the provider for a particular complication has been received. |\n| ` void` | ` `[onRetrievalFailed](../../../../../reference/android/support/wearable/complications/ProviderInfoRetriever.OnProviderInfoReceivedCallback.html#onRetrievalFailed())`() ` Called if retrieval of provider info fails. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` `[java.lang.Object](http://developer.android.com/reference/java/lang/Object.html)` ` |------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------| | ` `[Object](http://developer.android.com/reference/java/lang/Object.html) | ` clone() ` | | ` boolean` | ` equals(`[Object](http://developer.android.com/reference/java/lang/Object.html)` arg0) ` | | ` void` | ` finalize() ` | | ` final `[Class](http://developer.android.com/reference/java/lang/Class.html)`\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` `[String](http://developer.android.com/reference/java/lang/String.html) | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nPublic constructors\n-------------------\n\n### OnProviderInfoReceivedCallback\n\n```\npublic OnProviderInfoReceivedCallback ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### onProviderInfoReceived\n\n```\npublic abstract void onProviderInfoReceived (int watchFaceComplicationId, \n ComplicationProviderInfo info)\n```\n\nCalled when details of the provider for a particular complication has been received.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `watchFaceComplicationId` | `int`: the id for the complication, as provided to [ProviderInfoRetriever.retrieveProviderInfo(ProviderInfoRetriever.OnProviderInfoReceivedCallback, ComponentName, int...)](../../../../../reference/android/support/wearable/complications/ProviderInfoRetriever.html#retrieveProviderInfo(android.support.wearable.complications.ProviderInfoRetriever.OnProviderInfoReceivedCallback,%20android.content.ComponentName,%20int...)) \u003cbr /\u003e |\n| `info` | `ComplicationProviderInfo`: containing details of the provider for that complication, or `null` if no provider is currently configured \u003cbr /\u003e |\n\n### onRetrievalFailed\n\n```\npublic void onRetrievalFailed ()\n```\n\nCalled if retrieval of provider info fails.\n\n\u003cbr /\u003e"]]