If the number of seconds that have passed in the minute is 7, then the value returned is 2.33. This returns the quotient of seconds in a minute divided by 3. If the battery percentage is 7%, then the value returned is 35. This returns the battery percentage multiplied by 5. The following examples show how to use tags and arithmetic operations in a tag Arithmetic operatorsĪrithmetic operators are basic math functions. Tag expressions support various operators. Returns the result of a base raised to an exponent. : Indicates the position of the decimal point. Returns the value of clamping num between max and min. Returns the smallest integer that is greater than or equal to num. Returns the greatest integer less than or equal to num. Whether heart rate measurement is successful or not Timestamp when the heart rate is measured Health data Note: Health data is not shown when the device is locked. Whether the device has an accelerometer sensor Whether the battery of the watch is low and not charging Language, country, variant, script, and extensions(ex. String representation of the system locale object, consisting of Timezone offset, modified for daylight saving timeĪM/PM String formatted with system locale Whether the system uses Daylight Saving Time. Timestamp as UTC milliseconds from the epochĪbbreviated year, represented by last two digits Tag descriptions and value ranges are shown in the following tables. ![]() In the scripting popup, you can enter lengthy tagĮxpressions and can easily search for the data you want. To open the tag scripting popup,Ĭlick Tags. Tags must be enclosed in square brackets. Objects that appear or disappear at certain times.Įnter tag expressions directly into the rotate, placement, and opacity Vertically with every passing second, or you can create a watch face with Your watch face changes dynamically as the tag value changes.įor example, you can create a watch face where the object on the screen moves Tag expressionsĪre conditions that allow you to change the rotation, placement, and opacity ofĪ component based on tag values (watch data) such as date and time, battery Use tag expressions to create unique and dynamic watch faces.
0 Comments
Leave a Reply. |