Type: public
void
Reset the stopwatch, cancelling any notifications and setting everything to zero.
Type: public
void
Toggle whether the stopwatch is currently running (pausing it and storing a temporary time if so).
Type: public
void
Record the current time as a "lap".
Type: private
Notification
Get a notification to send to the user for the current time.
Parameter Name | Description |
---|---|
time | A formatted string defining the current time on the stopwatch. |
Returned Value: A notification to use for this stopwatch.