ohos.utils.Sequenceablepublic class ComplicationEntity
extends java.lang.Object
implements ohos.utils.Sequenceable
SystemCapability.Wearable#COMPLICATION| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
ComplicationEntity.Builder |
A builder class for
ComplicationEntity objects. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
java.lang.String |
getAccessibilityDescription() |
Obtains the accessibility description of the complication data for using TalkBack.
|
ohos.interwork.event.intentagent.IntentAgentEx |
getClickEvent() |
Obtains the information about a click event that occurs on this complication.
|
float |
getDigitValue() |
Obtains the digital value of this complication.
|
int |
getIcon() |
Obtains the complication icon resource ID.
|
ListValue |
getListValue() |
Obtains the list data of this complication.
|
java.lang.String |
getLongText() |
Obtains the long text string of this complication.
|
RangedValue |
getRangedValue() |
Obtains the ranged data of this complication.
|
java.lang.String |
getTemplate() |
Obtains the complication template type.
|
java.lang.String |
getTextValue() |
Obtains the text data of this complication.
|
java.lang.String |
getTitle() |
Obtains the complication title.
|
int |
getType() |
Obtains the complication type.
|
boolean |
marshalling(ohos.utils.Parcel dest) |
|
boolean |
unmarshalling(ohos.utils.Parcel in) |
public boolean marshalling(ohos.utils.Parcel dest)
marshalling 在接口中 ohos.utils.Sequenceablepublic boolean unmarshalling(ohos.utils.Parcel in)
unmarshalling 在接口中 ohos.utils.Sequenceablepublic int getType()
public java.lang.String getTemplate()
public int getIcon()
public java.lang.String getTitle()
public java.lang.String getTextValue()
public float getDigitValue()
public java.lang.String getLongText()
public RangedValue getRangedValue()
public ListValue getListValue()
public ohos.interwork.event.intentagent.IntentAgentEx getClickEvent()
public java.lang.String getAccessibilityDescription()