Interface Timer.Context

All Known Implementing Classes:
TimerImpl.ContextImpl
Enclosing interface:
Timer

public static interface Timer.Context
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Stops the Timer and records a failed call.
    void
    Stops the Timer and records a successful call.
  • Method Details

    • onError

      void onError()
      Stops the Timer and records a failed call. This method must be invoked when a call failed.
    • onSuccess

      void onSuccess()
      Stops the Timer and records a successful call.