public interface CameraManager
Modifier and Type | Method and Description |
---|---|
void |
disableCameraFlashLight()
Call to turn off the device flash light
|
void |
enableCameraFlashLight()
Call to turn on the device flash light
|
float |
getCurrentZoomLevel()
Call to get the currently set zoom level
|
float |
getMaxZoomLevel()
Call to check the maximum zoom level, should be called before setting the zoom level
|
void |
setCameraPosition(CameraSettings.CameraPosition cameraPosition_)
Call to change which camera should be used (front, back)
|
void |
setFocusMode(CameraSettings.CameraFocusMode focusMode_)
Call to change the focus mode of the camera (once, continuous)
|
void |
setZoomLevel(float zoomLevel_)
Call to set the zoom in or zoom out, call getMaxZoomLevel first to get the maximum possible value
|
void enableCameraFlashLight()
void disableCameraFlashLight()
void setCameraPosition(CameraSettings.CameraPosition cameraPosition_)
cameraPosition_
- Camera which should be used (front, back)void setFocusMode(CameraSettings.CameraFocusMode focusMode_)
focusMode_
- Focus mode which should be used (once, continuous)void setZoomLevel(float zoomLevel_)
zoomLevel_
- Zoom level to be setfloat getCurrentZoomLevel()
float getMaxZoomLevel()