Interface ILegacyCameraController

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onResume() Notifies view that enclosing android.app.Activity or android.app.Fragment was resumed and therefore camera can be started.
      abstract Unit onPause() Notifies view that enclosing android.app.Activity or android.app.Fragment was paused and therefore camera must be closed.
      abstract Unit closeCamera() Stop camera preview and free up the resourcesFor CameraX approach this call is redundant and may be skipped
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail