ActivityResultContracts.TakePicture with front camera

265 Views Asked by At

I'm using ActivityResultContracts to capture images, is there any way by which I can launch my front camera by default?

As per the documentation it is possible to pass extra data by overriding createIntent method, can I use that here?

It seems to be possible by using Intent but is there any way to achieve this using ActivityResultContracts?

0

There are 0 best solutions below