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
int |
CONTENTS_FILE_DESCRIPTOR
|
int |
PARCELABLE_WRITE_RETURN_VALUE
|
|
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()
|
|
From
interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Fields
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)
Public methods
describeContents
int describeContents ()
writeToParcel
void writeToParcel (Parcel dest,
int flags)
Parameters |
dest |
Parcel |
flags |
int |