- setClockDelay(long) - Method in class com.yashovardhan99.timeit.Stopwatch
-
Set a custom clock delay to increase/decrease update frequency.
- setDebugMode(boolean) - Method in class com.yashovardhan99.timeit.Stopwatch
-
Set whether to print debug logs or not.
- setDuration(long) - Method in class com.yashovardhan99.timeit.Timer
-
Used to set the duration of the timer.
- setOnTickListener(Stopwatch.OnTickListener) - Method in class com.yashovardhan99.timeit.Stopwatch
-
Set an OnTickListener to listen for clock changes.
- setOnTickListener(Timer.OnTickListener) - Method in class com.yashovardhan99.timeit.Timer
-
Used to set an OnTickListener to listen to clock events
- setTextView(TextView) - Method in class com.yashovardhan99.timeit.Stopwatch
-
Allows you to set a textView where the stopwatch time is displayed.
- setTextView(TextView) - Method in class com.yashovardhan99.timeit.Timer
-
Used to set the textView which is auto-updated every clock tick.
- Split - Class in com.yashovardhan99.timeit
-
This is a utility class for the main Stopwatch class to help create and save splits and laps.
- Split(long, long) - Constructor for class com.yashovardhan99.timeit.Split
-
Constructor to create a Split object.
- split() - Method in class com.yashovardhan99.timeit.Stopwatch
-
Creates a new split/lap at the current time.
- start() - Method in class com.yashovardhan99.timeit.Stopwatch
-
Starts the stopwatch at the current time.
- start() - Method in class com.yashovardhan99.timeit.Timer
-
Used to start the timer.
- stop() - Method in class com.yashovardhan99.timeit.Stopwatch
-
Stops the stopwatch.
- stop() - Method in class com.yashovardhan99.timeit.Timer
-
Used to stop the timer.
- Stopwatch - Class in com.yashovardhan99.timeit
-
The Stopwatch class is used for creating and using a simple stopwatch with basic features like : start, pause, resume and split.
- Stopwatch() - Constructor for class com.yashovardhan99.timeit.Stopwatch
-
The default constructor should be called to create an object to call functions accordingly.
- Stopwatch.OnTickListener - Interface in com.yashovardhan99.timeit
-
Interface to listen for stopwatch tick events every time clock is updated.