Interface CameraStateCallback

  • All Implemented Interfaces:

    
    public interface CameraStateCallback
    
                        

    Notified about state of the camera

    • 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() 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
    • Constructor Detail

    • 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.