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
complicationType
public final int complicationType
Public constructors
ComplicationProviderInfo
public ComplicationProviderInfo (String appName, String providerName, Icon providerIcon, int complicationType)
| Parameters | |
|---|---|
appName |
String |
providerName |
String |
providerIcon |
Icon |
complicationType |
int |
Public methods
describeContents
public int describeContents ()
| Returns | |
|---|---|
int |
|