Repository navigation
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! |
Answered by
robingenz
May 27, 2024
Replies: 1 comment 1 reply
|
The easiest way at the moment is to call |
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.