setOnTimerTickCallback method

void setOnTimerTickCallback(
  1. OnTimerTickCallback callback
)

set timer callback.

Implementation

void setOnTimerTickCallback(OnTimerTickCallback callback) {
  _onTimerTickCallback = callback;
}