Switching camera (LensFacing.Back/LensFacing.Front) after startScan() #156
Answered
by
robingenz
simonetassi
asked this question in
Q&A
-
I was wondering if it is possible to switch to front camera while the scanner is open (opened with lensFacing option equal to LensFacing.Back), for example via button click. I don't see this option documented. Thank to anybody will help! |
Beta Was this translation helpful? Give feedback.
Answered by
robingenz
May 27, 2024
Replies: 1 comment 1 reply
-
The easiest way at the moment is to call |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
simonetassi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The easiest way at the moment is to call
stopScan()
and thenstartScan({ lensFacing: ... })
again.