Sweep


Allows watch face creators to define the behavior of SecondHand elements, such that the seconds increase in a smooth continuous motion.

Introduced in Wear OS 4.

Syntax

<Sweep frequency="valid-value" />

Attributes

The Sweep element has the following required attributes:

frequency

The frequency, in Hz, at which the hand is redrawn. Must be one of: 2, 5, 10, 15, SYNC_TO_DEVICE

If this value is set to SYNC_TO_DEVICE, the hand redraws as quickly as the device allows while keeping the sweeping motion smooth.

  • Note: link text is displayed when JavaScript is off
  • SecondHand