Interface TimerReceiver


public interface TimerReceiver
A TimerReceiver receives per-frame pulses from the MasterTimer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(long now)
    Callback triggered to send a message to the TimerReceiver
  • Method Details

    • handle

      void handle(long now)
      Callback triggered to send a message to the TimerReceiver
      Parameters:
      now - The timestamp of the current frame given in nanoseconds. This value will be the same for all AnimationTimers called during one frame.