List
AR Camera
Posted Date: 2018-05-12 10:30     Edited Date: 2018-05-16 2:31     Writer: inactive

Hi, i'm trying to switch ON android flashlight for a better vision of surface, but when i do that the AR Camera stops responding and the screen freeze. Is there any way to do that without affecting AR Camera performance ???

I'm using:
1. SDK Version: 3.5
2. Development Environment: Unity-Android
3. Tracker/Scanner: Instant tracking multi contents
4. License Type: Free

Code i'm using for flashlight:

Posted Date: 2018-05-13 23:40     Edited Date: 2018-05-13 23:40     Writer: inactive

Hi,

The android app can have only one camera device instance at one time.

So, please use CameraDevice class instead of your own camera instance.

Our sdk already provides interface to control flash light.

The code snippet is like below.

CameraDevice.GetInstance().SetFlashLightMode(true);

Thank you

Jack

SDK Team, Maxst

Posted Date: 2018-05-16 2:31     Edited Date: 2018-05-16 2:31     Writer: inactive

Ok, thanks!