add getter for permissions

pull/1/head
Dylan McIntyre 8 years ago
parent 11c3210786
commit 0f2c695c5c
  1. 5
      camerakit/src/main/java/com/flurgle/camerakit/CameraView.java

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

Loading…
Cancel
Save