Complication are components used to display data on the watch face.
| 类 | 说明 |
|---|---|
| Complication |
Defines complication data types.
|
| ComplicationCallback |
Sends complication data to the watch face.
|
| ComplicationDataRefresh |
Notifies the watch face to refresh complication data.
|
| ComplicationEntity |
Provides methods related to complication data.
|
| ComplicationEntity.Builder |
A builder class for
ComplicationEntity objects. |
| ComplicationProviderAbility |
A base class for implementing complication data refresh.
|
| ComplicationTemplate |
Defines complication templates.
|
| ListValue |
Provides methods related to a
ListValue object. |
| RangedValue |
Provides methods related to a
RangedValue object which consists of the maximum, minimum, and current values. |
| 枚举 | 说明 |
|---|---|
| Complication.Type |
Enumerates complication types.
|
| ComplicationTemplate.Type |
Enumerates types of complication templates.
|
| 异常错误 | 说明 |
|---|---|
| IllegalFieldException |
Represents the exception that will be thrown upon an illegal field.
|
| IllegalListValueException |
Represents the exception that will be thrown upon an illegal
ListValue object. |
| IllegalRangedArgumentException |
Represents the exception that will be thrown upon an illegal
RangedValue object. |
| IllegalTemplateException |
Represents the exception that will be thrown upon an illegal complication template type.
|
| IllegalValueException |
Represents the exception that will be thrown upon an illegal value.
|
| MissRequiredFieldException |
Represents the exception that will be thrown when required fields are missing in a specified complication template.
|