Skip to content

Most visited

Recently visited

navigation

ComplicationProviderInfo

public class ComplicationProviderInfo
extends Object implements Parcelable

java.lang.Object
   ↳ android.support.wearable.complications.ComplicationProviderInfo


Holder of details of a complication provider, for use by watch faces (for example, to show the current provider in settings). A ProviderInfoRetriever can be used to obtain instances of this class for each of a watch face's complications.

Summary

Inherited constants

From interface android.os.Parcelable

Fields

public static final Creator<ComplicationProviderInfo> CREATOR

public final String appName

public final int complicationType

public final Icon providerIcon

public final String providerName

Public constructors

ComplicationProviderInfo(String appName, String providerName, Icon providerIcon, int complicationType)
ComplicationProviderInfo(Parcel in)

Public methods

int describeContents()
String toString()
void writeToParcel(Parcel dest, int flags)

Inherited methods

From class java.lang.Object
From interface android.os.Parcelable

Fields

appName

String appName

complicationType

int complicationType

providerIcon

Icon providerIcon

providerName

String providerName

Public constructors

ComplicationProviderInfo

ComplicationProviderInfo (String appName, 
                String providerName, 
                Icon providerIcon, 
                int complicationType)

Parameters
appName String

providerName String

providerIcon Icon

complicationType int

ComplicationProviderInfo

ComplicationProviderInfo (Parcel in)

Parameters
in Parcel

Public methods

describeContents

int describeContents ()

Returns
int

toString

String toString ()

Returns
String

writeToParcel

void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (Dec 2017 Android Platform & Tools Survey)