构造器和说明 |
---|
CameraMachine(android.content.Context context,
CameraView view,
CameraInterface.CameraOpenOverCallback cameraOpenOverCallback) |
限定符和类型 | 方法和说明 |
---|---|
void |
cancle(android.view.SurfaceHolder holder,
float screenProp) |
void |
capture() |
void |
confirm() |
void |
flash(java.lang.String mode) |
void |
foucs(float x,
float y,
CameraInterface.FocusCallback callback) |
android.content.Context |
getContext() |
State |
getState() |
CameraView |
getView() |
void |
record(android.view.Surface surface,
float screenProp) |
void |
restart() |
void |
setState(State state) |
void |
start(android.view.SurfaceHolder holder,
float screenProp) |
void |
stop() |
void |
stopRecord(boolean isShort,
long time) |
void |
swtich(android.view.SurfaceHolder holder,
float screenProp) |
void |
zoom(float zoom,
int type) |
public CameraMachine(android.content.Context context, CameraView view, CameraInterface.CameraOpenOverCallback cameraOpenOverCallback)
public CameraView getView()
public android.content.Context getContext()
public void foucs(float x, float y, CameraInterface.FocusCallback callback)
public void swtich(android.view.SurfaceHolder holder, float screenProp)
public void stopRecord(boolean isShort, long time)
stopRecord
在接口中 State
public void cancle(android.view.SurfaceHolder holder, float screenProp)
public State getState()
public void setState(State state)