Package 

Class DelayKt

  • All Implemented Interfaces:

    
    public final class DelayKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final static PublishSubject<Float> animationFrame
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final PublishSubject<Float> getAnimationFrame() A subject that is called every animation frame with the time elapsed since the last frame in seconds.
      final static Unit delay(Long milliseconds, Function0<Unit> action) Shortcut for calling Handler.postDelayed
      final static Unit post(Function0<Unit> action) Shortcut for calling Handler.post
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait