ComplicationProviderInfo

public class ComplicationProviderInfo
extends Object implements Parcelable

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


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

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

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

Fields

CREATOR

public static final Creator<ComplicationProviderInfo> CREATOR

appName

public final String appName

complicationType

public final int complicationType

providerIcon

public final Icon providerIcon

providerName

public final String providerName

Public constructors

ComplicationProviderInfo

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

Parameters
appName String

providerName String

providerIcon Icon

complicationType int

ComplicationProviderInfo

public ComplicationProviderInfo (Parcel in)

Parameters
in Parcel

Public methods

describeContents

public int describeContents ()

Returns
int

toString

public String toString ()

Returns
String

writeToParcel

public void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int