From ee1eb88dfc06c610889461ef249c0a7d78b65cb9 Mon Sep 17 00:00:00 2001 From: Yuval Peress Date: Sun, 11 Jun 2017 08:07:53 -0400 Subject: [PATCH] Add getter for the facing field --- .../src/main/java/com/flurgle/camerakit/CameraView.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java b/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java index 44635311..d60ea73f 100644 --- a/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java +++ b/camerakit/src/main/java/com/flurgle/camerakit/CameraView.java @@ -241,6 +241,11 @@ public class CameraView extends FrameLayout { mCameraImpl.stop(); } + @Facing + public int getFacing() { + return mFacing; + } + public void setFacing(@Facing final int facing) { this.mFacing = facing;