public static interface TimingSource.TickListener
TimingSource
object. The TimingSource.TickListener
implementation is registered as a listener of the TimingSource
via
the TimingSource.addTickListener(TickListener)
method.
Animations register themselves as a TimingSource.TickListener
.
Modifier and Type | Method and Description |
---|---|
void |
timingSourceTick(TimingSource source,
long nanoTime)
This method is called by the
TimingSource object while the timer
is running. |
void timingSourceTick(TimingSource source, long nanoTime)
TimingSource
object while the timer
is running. It indicates a tick of time has passed.source
- the object that invoked this call.nanoTime
- the current value of the most precise available system timer, in
nanoseconds.