Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72556493 authored by Mark Harman's avatar Mark Harman Committed by Mohammed Althaf T
Browse files

Document isVideo().

parent ff34d04d
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8773,6 +8773,9 @@ public class Preview implements SurfaceHolder.Callback, TextureView.SurfaceTextu
    public boolean isQRCode() {
        return functionalMode == FunctionalMode.QRCODE;
    }

    /** Whether we are in video mode, or photo mode.
     */
    public boolean isVideo() {
        return functionalMode == FunctionalMode.VIDEO;
    }