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-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# Sweep\n\nWatch Face Format version Version 4 Version 3 Version 2 Version 1\n\n*** ** * ** ***\n\nAllows watch face creators to define the behavior of `SecondHand` elements, such\nthat the seconds increase in a smooth continuous motion.\n\nIntroduced in Wear OS 4.\n\nSyntax\n------\n\n```xml\n\u003cSweep frequency=\"valid-value\" /\u003e\n```\n\nAttributes\n----------\n\nThe `Sweep` element has the following required attributes:\n\n`frequency`\n\n: The frequency, in Hz, at which the hand is redrawn. Must be one of:\n 2, 5, 10, 15,\n `SYNC_TO_DEVICE`\n\n If this value is set to `SYNC_TO_DEVICE`, the hand redraws as quickly as the\n device allows while keeping the sweeping motion smooth.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [SecondHand](/training/wearables/wff/clock/second-hand)\n- [Localization](/training/wearables/wff/common/localization)\n- [Font](/training/wearables/wff/group/part/text/font)"]]