Interface CameraOpenListener

  • All Implemented Interfaces:

    
    public interface CameraOpenListener
    
                        

    A listener for Camera opening events.

    • 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 void onCameraOpened(CameraController cameraController, int width, int height) This method is invoked when camera preview has started.
      abstract void onCameraError(Exception e) Invoked when something went wrong connecting to the camera.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onCameraOpened

         abstract void onCameraOpened(CameraController cameraController, int width, int height)

        This method is invoked when camera preview has started.

        Parameters:
        cameraController - - the camera controller used to control the camera
        width - - the width of the frames that will be delivered
        height - - the height of the frames that will be delivered
      • onCameraError

         abstract void onCameraError(Exception e)

        Invoked when something went wrong connecting to the camera.

        Parameters:
        e - the exception that occurred