Package 

Interface CameraStateCallback

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onResume() Called when camera switches to resumed state and is about to start streaming preview stream.
      abstract Unit onPause() Called when camera switches to paused state.
      • Methods inherited from class java.lang.Object

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

      • onResume

         abstract Unit onResume()

        Called when camera switches to resumed state and is about to start streaming preview stream.

      • onPause

         abstract Unit onPause()

        Called when camera switches to paused state. Listeners should not expect new callbacks from the camera until .onResume is called again.