Package 

Class TimeoutAction

  • All Implemented Interfaces:
    com.otaliastudios.cameraview.engine.action.Action

    
    class TimeoutAction
    extends ActionWrapper
                        

    An Action that wraps another, and forces the completion after the given timeout in milliseconds is reached.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private BaseAction action
    • Method Summary

      Modifier and Type Method Description
      void onCaptureCompleted(ActionHolder holder, CaptureRequest request, TotalCaptureResult result) Called from onCaptureCompleted.
      BaseAction getAction() Should return the wrapped action.
      • Methods inherited from class com.otaliastudios.cameraview.engine.action.ActionWrapper

        onCaptureProgressed, onCaptureStarted
      • Methods inherited from class com.otaliastudios.cameraview.engine.action.BaseAction

        abort, addCallback, getState, isCompleted, removeCallback, start
      • Methods inherited from class com.otaliastudios.cameraview.engine.action.Action

        onCaptureCompleted, onCaptureProgressed
      • Methods inherited from class java.lang.Object

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