Have the same issue(using easyAR 3.1).
Please, can anyone explain how to initialize CameraDevice and use it.
There isn't any initialization for CameraDevice instance inside ARSession.cs.
When i just tried to create instance via new CameraDevice() and call SetFlashTorchMode(true) nothing happeng, torch still to be toggled off.
I use this code below, pls help if you have any information. Because i didn't find any information about this in docs :(
public class TorchlightController : MonoBehaviour
{
    private bool _active;
    public void ToggleLight()
    {
        _active = !_active;
        
        var camDevice = new CameraDevice();
        camDevice.setFlashTorchMode(_active);
    }
}