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 |
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
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)
Public methods
describeContents
public int describeContents ()
toString
public String toString ()
writeToParcel
public void writeToParcel (Parcel dest,
int flags)
Parameters |
dest |
Parcel |
flags |
int |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]