public class CameraParam
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
FOCUS_MODE_AUTO
Autofocus.
|
static int |
FOCUS_MODE_CONTINUE
Continuous autofocus.
|
| Constructor and Description |
|---|
CameraParam() |
| Modifier and Type | Method and Description |
|---|---|
float |
getExposureCompensationRatio()
Gets the exposure level.
|
java.lang.String |
getFlashType()
Gets the flash mode.
|
int |
getFocusMode()
Gets the focus mode.
|
float |
getZoomRatio()
Gets the zoom level.
|
void |
setExposureCompensationRatio(float exposureCompensation)
Sets the exposure level.
|
void |
setFlashType(java.lang.String type)
Sets the flash mode.
|
void |
setFocusMode(int focusMode)
Sets the focus mode.
|
void |
setZoomRatio(float zoomRatio)
Sets the zoom level.
|
public static final int FOCUS_MODE_AUTO
android.hardware.Camera.Parameters#FLASH_MODE_AUTOpublic static final int FOCUS_MODE_CONTINUE
public java.lang.String getFlashType()
public void setFlashType(java.lang.String type)
type - The flash mode.public float getZoomRatio()
public void setZoomRatio(float zoomRatio)
zoomRatio - The zoom level.public int getFocusMode()
FOCUS_MODE_AUTO and FOCUS_MODE_CONTINUE.public void setFocusMode(int focusMode)
FOCUS_MODE_AUTO
FOCUS_MODE_CONTINUEfocusMode - The focus mode.public float getExposureCompensationRatio()
public void setExposureCompensationRatio(float exposureCompensation)
exposureCompensation - The exposure level.