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