|
|
|
@ -101,6 +101,7 @@ public class CameraView extends FrameLayout { |
|
|
|
|
setFocus(mFocus); |
|
|
|
|
setMethod(mMethod); |
|
|
|
|
setZoom(mZoom); |
|
|
|
|
setPermissions(mPermissions); |
|
|
|
|
|
|
|
|
|
mDisplayOrientationDetector = new DisplayOrientationDetector(context) { |
|
|
|
|
@Override |
|
|
|
@ -251,6 +252,10 @@ public class CameraView extends FrameLayout { |
|
|
|
|
mCameraImpl.setZoom(mZoom); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setPermissions(@Permissions int permissions) { |
|
|
|
|
this.mPermissions = permissions; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setJpegQuality(int jpegQuality) { |
|
|
|
|
this.mJpegQuality = jpegQuality; |
|
|
|
|
} |
|
|
|
|