Handling time components.
The TickTimerService allows your app to be called every time one Time component has changed. This is extremely important for watchfaces. Your app can choose on which time component change a tick should occur. Time components are defined by a TimeUnits enum bitmask.
Subscribe to the tick timer event service. Once subscribed, the handler gets called on every requested unit change. Calling this function multiple times will override the units and handler (i.e., only the last tick_units and handler passed will be used).
The callback to be executed on tick events
a bitmask of all the units that have changed
Unsubscribe from the tick timer event service. Once unsubscribed, the previously registered handler will no longer be called.
Flag to represent the "seconds" time unit.
Flag to represent the "minutes" time unit.
Flag to represent the "hours" time unit.
Flag to represent the "days" time unit.
Flag to represent the "months" time unit.
Flag to represent the "years" time unit.
Callback type for tick timer events.
the time at which the tick event was triggered
which unit change triggered this tick event