Interface ITimer


  • public interface ITimer
    Interface for a timer.
    • Method Detail

      • cancel

        void cancel()
        Cancel the timer.
      • getNotificationTime

        long getNotificationTime()
        Get the next notification time.
        Returns:
        The notification time.
      • setNotificationTime

        void setNotificationTime​(long time)
        Change notification time.
        Parameters:
        The - notification time.
      • getTimedObject

        ITimedObject getTimedObject()
        Get the timed object associated with this timer.
        Returns:
        The timed object.