A B C E G I L M N O P R S T U V W 

A

ACTION_REQUEST_UPDATE - 类 中的静态变量ohos.wearable.tile.TileAbility
Indicates the action declared for the child class of TileAbility to request an update.
ACTION_TILE - 类 中的静态变量ohos.wearable.tile.TileAbility
Indicates the action declared for the child class of TileAbility in the config.json file.
ACTION_TILE_DEFAULT - 类 中的静态变量ohos.wearable.tile.TileAbility
Indicates the action declared for the child class of TileAbility in the config.json file for a tile to be displayed in the visible tile list by default.
addAnimationData(TileAnimationData) - 类 中的方法ohos.wearable.tile.TileEntity.Builder
Adds a TileAnimationData object to this tile.

B

build() - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Creates a ComplicationEntity object.
build() - 类 中的方法ohos.wearable.tile.TileAnimationData.Builder
Builds a TileAnimationData object.
build() - 类 中的方法ohos.wearable.tile.TileEntity.Builder
Builds a TileEntity object.
Builder() - 类 的构造器ohos.wearable.tile.TileAnimationData.Builder
 
Builder() - 类 的构造器ohos.wearable.tile.TileEntity.Builder
Constructor.
Builder(Context, int, String) - 类 的构造器ohos.wearable.complication.ComplicationEntity.Builder
A constructor used to create a ComplicationEntity.Builder object.

C

Complication - ohos.wearable.complication中的类
Defines complication data types.
Complication.Type - ohos.wearable.complication中的枚举
Enumerates complication types.
ComplicationCallback - ohos.wearable.complication中的类
Sends complication data to the watch face.
ComplicationDataRefresh - ohos.wearable.complication中的类
Notifies the watch face to refresh complication data.
ComplicationDataRefresh(AbilityContext, ElementName) - 类 的构造器ohos.wearable.complication.ComplicationDataRefresh
Constructor
ComplicationEntity - ohos.wearable.complication中的类
Provides methods related to complication data.
ComplicationEntity.Builder - ohos.wearable.complication中的类
A builder class for ComplicationEntity objects.
ComplicationProviderAbility - ohos.wearable.complication中的类
A base class for implementing complication data refresh.
ComplicationProviderAbility() - 类 的构造器ohos.wearable.complication.ComplicationProviderAbility
 
ComplicationTemplate - ohos.wearable.complication中的类
Defines complication templates.
ComplicationTemplate.Type - ohos.wearable.complication中的枚举
Enumerates types of complication templates.

E

EMPTY - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains no data.
EXTRA_CLASS_NAME - 类 中的静态变量ohos.wearable.tile.TileAbility
Indicates the name of the child class of TileAbility.
EXTRA_PACKAGE_NAME - 类 中的静态变量ohos.wearable.tile.TileAbility
Indicates the package name of the child class of TileAbility.
EXTRA_TILE_IDS - 类 中的静态变量ohos.wearable.tile.TileAbility
Indicates the tile ID.

G

getAccessibilityDescription() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the accessibility description of the complication data for using TalkBack.
getAnimationList() - 类 中的方法ohos.wearable.tile.TileEntity
Obtains the animation list of this tile.
getClickEvent() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the information about a click event that occurs on this complication.
getComponentId() - 类 中的方法ohos.wearable.tile.TileAnimationData
Obtains the ID of the component to which this animation is applied.
getCount() - 类 中的方法ohos.wearable.complication.ListValue
Obtains the number of values in the ListValue object.
getCurrent() - 类 中的方法ohos.wearable.complication.ListValue
Obtains the current value.
getCurrent() - 类 中的方法ohos.wearable.complication.RangedValue
Obtains the current value.
getDigitValue() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the digital value of this complication.
getIcon() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the complication icon resource ID.
getListValue() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the list data of this complication.
getLongText() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the long text string of this complication.
getMax() - 类 中的方法ohos.wearable.complication.RangedValue
Obtains the maximum value.
getMin() - 类 中的方法ohos.wearable.complication.RangedValue
Obtains the minimum value.
getRangedValue() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the ranged data of this complication.
getResourceList() - 类 中的方法ohos.wearable.tile.TileAnimationData
Obtains the resource list of this frame animation.
getStartTime() - 类 中的方法ohos.wearable.complication.ListValue
Obtains the start time.
getTemplate() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the complication template type.
getTextValue() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the text data of this complication.
getTileComponent() - 类 中的方法ohos.wearable.tile.TileEntity
Obtains a ComponentProvider object of this tile.
getTimeStep() - 类 中的方法ohos.wearable.complication.ListValue
Obtains the time step.
getTitle() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the complication title.
getType() - 枚举 中的方法ohos.wearable.complication.Complication.Type
Obtains an integer that represents the complication type.
getType() - 类 中的方法ohos.wearable.complication.ComplicationEntity
Obtains the complication type.
getType() - 枚举 中的方法ohos.wearable.complication.ComplicationTemplate.Type
Obtains the complication template type.
getUpdatedDelay() - 类 中的方法ohos.wearable.tile.TileEntity
Obtains the delay in updating this tile.
getValue(int) - 枚举 中的静态方法ohos.wearable.complication.Complication.Type
Obtains an enumerated constant of Complication.Type based on an integer that represents the complication type.
getValue(String) - 枚举 中的静态方法ohos.wearable.complication.ComplicationTemplate.Type
Obtains an enumerated constant of ComplicationTemplate.Type based on the complication template type.
getValues() - 类 中的方法ohos.wearable.complication.ListValue
Obtains the value array.

I

ICON_DIGIT - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon and numeric data.
ICON_LARGE - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon and a long text string.
ICON_LIST - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon and list data.
ICON_RANGED - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon and ranged data.
ICON_TEXT - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon and text data.
ICON_TITLE_DIGIT - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon, a title and numeric data.
ICON_TITLE_LARGE - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon, a title and a long text string.
ICON_TITLE_LIST - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon, a title and list data.
ICON_TITLE_RANGED - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon, a title and ranged data.
ICON_TITLE_TEXT - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains an icon, a title and text data.
IllegalFieldException - ohos.wearable.complication中的异常错误
Represents the exception that will be thrown upon an illegal field.
IllegalFieldException(String, String) - 异常错误 的构造器ohos.wearable.complication.IllegalFieldException
Defines an exception to indicate an illegal field in a specified complication template.
IllegalListValueException - ohos.wearable.complication中的异常错误
Represents the exception that will be thrown upon an illegal ListValue object.
IllegalListValueException(String) - 异常错误 的构造器ohos.wearable.complication.IllegalListValueException
Defines an exception to indicate an illegal ListValue object.
IllegalRangedArgumentException - ohos.wearable.complication中的异常错误
Represents the exception that will be thrown upon an illegal RangedValue object.
IllegalRangedArgumentException(String) - 异常错误 的构造器ohos.wearable.complication.IllegalRangedArgumentException
Defines an exception to indicate an illegal RangedValue object.
IllegalTemplateException - ohos.wearable.complication中的异常错误
Represents the exception that will be thrown upon an illegal complication template type.
IllegalTemplateException(int, String) - 异常错误 的构造器ohos.wearable.complication.IllegalTemplateException
Defines an exception to indicate the inconsistency between the complication type and the complication template type.
IllegalValueException - ohos.wearable.complication中的异常错误
Represents the exception that will be thrown upon an illegal value.
IllegalValueException(String, String, String) - 异常错误 的构造器ohos.wearable.complication.IllegalValueException
Defines an exception to indicate an illegal field value.
isInRetailMode() - 类 中的方法ohos.wearable.tile.TileAbility
Checks whether the current system is in retail mode.
isOneShot() - 类 中的方法ohos.wearable.tile.TileAnimationData
Checks whether this frame animation is played only once.

L

LARGE - ohos.wearable.complication.Complication.Type
Long string
LAUNCHER - ohos.wearable.complication.Complication.Type
Launcher
LAUNCHER_ICON - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains a launcher icon.
LIST - ohos.wearable.complication.Complication.Type
List data
ListValue - ohos.wearable.complication中的类
Provides methods related to a ListValue object.
ListValue(float[], long, int, String) - 类 的构造器ohos.wearable.complication.ListValue
A constructor used to create a ListValue object.

M

marshalling(Parcel) - 类 中的方法ohos.wearable.complication.ComplicationEntity
 
marshalling(Parcel) - 类 中的方法ohos.wearable.complication.ListValue
 
marshalling(Parcel) - 类 中的方法ohos.wearable.complication.RangedValue
 
marshalling(Parcel) - 类 中的方法ohos.wearable.tile.TileAnimationData
 
marshalling(Parcel) - 类 中的方法ohos.wearable.tile.TileEntity
 
marshalling(Parcel) - 枚举 中的方法ohos.wearable.tile.TileStatus
 
MissRequiredFieldException - ohos.wearable.complication中的异常错误
Represents the exception that will be thrown when required fields are missing in a specified complication template.
MissRequiredFieldException(String, String) - 异常错误 的构造器ohos.wearable.complication.MissRequiredFieldException
Defines an exception to indicate that required fields are missing in a specified complication template.

N

NO_DATA - ohos.wearable.complication.Complication.Type
No data
notifyDataChanged(Context, ElementName) - 类 中的方法ohos.wearable.tile.TileAbility
Notifies the system of tile data changes.

O

ohos.wearable.complication - 程序包 ohos.wearable.complication
Provides classes to implement watch complications.
ohos.wearable.tile - 程序包 ohos.wearable.tile
Provides interfaces and classes to implement watch tiles.
onAdded(int, int, ComplicationCallback) - 类 中的方法ohos.wearable.complication.ComplicationProviderAbility
Called when a complication is added to the watch face.
onConnect(Intent) - 类 中的方法ohos.wearable.complication.ComplicationProviderAbility
 
onConnect(Intent) - 类 中的方法ohos.wearable.tile.TileAbility
 
onDisconnect(Intent) - 类 中的方法ohos.wearable.complication.ComplicationProviderAbility
 
onDisconnect(Intent) - 类 中的方法ohos.wearable.tile.TileAbility
 
onRefresh(int, int, ComplicationCallback) - 类 中的方法ohos.wearable.complication.ComplicationProviderAbility
Called when the watch face requests for complication data refresh.
onRemoved(int) - 类 中的方法ohos.wearable.complication.ComplicationProviderAbility
Called when a complication is removed from the watch face.
onStatusChanged(TileStatus) - 类 中的方法ohos.wearable.tile.TileAbility
Called when the tile state changes.

P

PRODUCER - 枚举 中的静态变量ohos.wearable.tile.TileStatus
The creator of TileStatus.

R

RANGED - ohos.wearable.complication.Complication.Type
Ranged data
RangedValue - ohos.wearable.complication中的类
Provides methods related to a RangedValue object which consists of the maximum, minimum, and current values.
RangedValue(float, float, float) - 类 的构造器ohos.wearable.complication.RangedValue
A constructor used to create a RangedValue object.
refresh(int, ComplicationEntity) - 类 中的方法ohos.wearable.complication.ComplicationCallback
Sends refresh data of a specified complication to the watch face.
refreshNone(int) - 类 中的方法ohos.wearable.complication.ComplicationCallback
Sends invalid data of a specified complication to the watch face.
requestRefresh() - 类 中的方法ohos.wearable.complication.ComplicationDataRefresh
Sends a request for refreshing data of all complications provided by a ComplicationProviderAbility object.
requestRefresh(int) - 类 中的方法ohos.wearable.complication.ComplicationDataRefresh
Sends a request for refreshing data of a specified complication provided by a ComplicationProviderAbility object.

S

setAccessibilityDescription(String) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets the accessibility description of the complication data for using TalkBack.
setClickEvent(IntentAgent) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets the information about a click event that occurs on this complication.
setComponentId(int) - 类 中的方法ohos.wearable.tile.TileAnimationData.Builder
Sets the ID of the component to which this animation is to be applied.
setComponentProvider(ComponentProvider, Context) - 类 中的方法ohos.wearable.tile.TileEntity.Builder
Sets the ComponentProvider for this tile.
setDigitValue(float) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets a digital value for this complication.
setIcon(int) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets the icon resource ID for this complication.
setListValue(ListValue) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets list data for this complication.
setLongText(String) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets a long text string for this complication.
setOneShot(boolean) - 类 中的方法ohos.wearable.tile.TileAnimationData.Builder
Sets whether this animation is played only once.
setRangedValue(RangedValue) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets ranged data for this complication.
setResourceList(LinkedHashMap<Integer, Integer>) - 类 中的方法ohos.wearable.tile.TileAnimationData.Builder
Sets the resource list for this frame animation.
setTextValue(String) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets text data for this complication.
setTitle(String) - 类 中的方法ohos.wearable.complication.ComplicationEntity.Builder
Sets the complication title.
setUpdateDelay(long) - 类 中的方法ohos.wearable.tile.TileEntity.Builder
Sets the delay in updating this tile.
SIMPLE - ohos.wearable.complication.Complication.Type
Simple data

T

TEMPLATE_EMPTY - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains no data.
TEMPLATE_ICON_DIGIT - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon and numeric data.
TEMPLATE_ICON_LARGE - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon and a long text string.
TEMPLATE_ICON_LIST - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon and list data.
TEMPLATE_ICON_RANGED - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon and ranged data.
TEMPLATE_ICON_TEXT - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon and text data.
TEMPLATE_ICON_TITLE_DIGIT - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon, a title, and numeric data.
TEMPLATE_ICON_TITLE_LARGE - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon, a title, and a long text string.
TEMPLATE_ICON_TITLE_LIST - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon, a title, and list data.
TEMPLATE_ICON_TITLE_RANGED - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a template that contains an icon, a title, and ranged data.
TEMPLATE_ICON_TITLE_TEXT - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains an icon, a title, and text data.
TEMPLATE_LAUNCHER_ICON - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains a launcher icon and can respond to click events.
TEMPLATE_TITLE_DIGIT - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains a title and numeric data.
TEMPLATE_TITLE_LARGE - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains a title and a long text string.
TEMPLATE_TITLE_LIST - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains a title and list data.
TEMPLATE_TITLE_RANGED - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains a title and ranged data.
TEMPLATE_TITLE_TEXT - 类 中的静态变量ohos.wearable.complication.ComplicationTemplate
Indicates a complication template that contains a title and text data.
TILE_HIDE - ohos.wearable.tile.TileStatus
Indicates that the tile is in the hidden state when a user releases the tile.
TILE_PREPARE - ohos.wearable.tile.TileStatus
Indicates that the tile is in the preparing state.
TILE_SELECTED - ohos.wearable.tile.TileStatus
Indicates that the tile is in the selected state.
TILE_UPDATE - ohos.wearable.tile.TileStatus
Indicates that the tile is in the updated state.
TileAbility - ohos.wearable.tile中的类
A base class for implementing a tile.
TileAbility() - 类 的构造器ohos.wearable.tile.TileAbility
 
TileAnimationData - ohos.wearable.tile中的类
Provides information about a frame animation.
TileAnimationData.Builder - ohos.wearable.tile中的类
A builder class for TileAnimationData objects.
TileEntity - ohos.wearable.tile中的类
Provides methods related to a TileEntity object.
TileEntity() - 类 的构造器ohos.wearable.tile.TileEntity
Constructor
TileEntity.Builder - ohos.wearable.tile中的类
A builder class for TileEntity objects holding the tile content.
TileStatus - ohos.wearable.tile中的枚举
Enumerates states of a tile.
TITLE_DIGIT - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains a title and numeric data.
TITLE_LARGE - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains a title and a long text string.
TITLE_LIST - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains a title and list data.
TITLE_RANGED - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains a title and ranged value.
TITLE_TEXT - ohos.wearable.complication.ComplicationTemplate.Type
Indicates a template that contains a title and text data.
toString() - 类 中的方法ohos.wearable.tile.TileAnimationData
 
TYPE_LARGE - 类 中的静态变量ohos.wearable.complication.Complication
Indicates a complication that displays a long text string.
TYPE_LAUNCHER - 类 中的静态变量ohos.wearable.complication.Complication
Indicates a complication that displays a launcher icon.
TYPE_LIST - 类 中的静态变量ohos.wearable.complication.Complication
Indicates a complication that displays list data.
TYPE_NO_DATA - 类 中的静态变量ohos.wearable.complication.Complication
Indicates a complication that displays no data.
TYPE_RANGED - 类 中的静态变量ohos.wearable.complication.Complication
Indicates a complication that displays ranged data.
TYPE_SIMPLE - 类 中的静态变量ohos.wearable.complication.Complication
Indicates a complication that displays simple data.

U

unmarshalling(Parcel) - 类 中的方法ohos.wearable.complication.ComplicationEntity
 
unmarshalling(Parcel) - 类 中的方法ohos.wearable.complication.ListValue
 
unmarshalling(Parcel) - 类 中的方法ohos.wearable.complication.RangedValue
 
unmarshalling(Parcel) - 类 中的方法ohos.wearable.tile.TileAnimationData
 
unmarshalling(Parcel) - 类 中的方法ohos.wearable.tile.TileEntity
 
unmarshalling(Parcel) - 枚举 中的方法ohos.wearable.tile.TileStatus
 

V

valueOf(String) - 枚举 中的静态方法ohos.wearable.complication.Complication.Type
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
valueOf(String) - 枚举 中的静态方法ohos.wearable.complication.ComplicationTemplate.Type
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
valueOf(String) - 枚举 中的静态方法ohos.wearable.tile.TileStatus
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
values() - 枚举 中的静态方法ohos.wearable.complication.Complication.Type
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
for (Complication.Type c : Complication.Type.values())
    System.out.println(c);
values() - 枚举 中的静态方法ohos.wearable.complication.ComplicationTemplate.Type
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
for (ComplicationTemplate.Type c : ComplicationTemplate.Type.values())
    System.out.println(c);
values() - 枚举 中的静态方法ohos.wearable.tile.TileStatus
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
for (TileStatus c : TileStatus.values())
    System.out.println(c);

W

writeToMap(PacMap) - 类 中的方法ohos.wearable.complication.ListValue
 
writeToMap(PacMap) - 类 中的方法ohos.wearable.complication.RangedValue
 
A B C E G I L M N O P R S T U V W 
跳过导航链接