Package io.anyline2.camera
Interface CameraOpenListener
-
- All Implemented Interfaces:
public interface CameraOpenListener
A listener for Camera opening events.
-
-
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. -
-
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 camerawidth
- - the width of the frames that will be deliveredheight
- - 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
-
-
-
-