Ketai camnera class: use of setZoom(), getZoom() and flashenabled() nethods

Hi i am trying to find some information on the use of the getZoom() and setZoom() methods of the ketai camera class. I couldn’t find much info on the website. For example some usage code.

Also with reference to the use of the LED flash unit as a torch, as i understand it the LED flash can only be used as a flash unit for the camera. Is this correct? Does this mean that the method cam.flashenabled() can not be used if the cam.start() method has not been invoked first?

Is there a way to use the android device torch function programmatically.

Any help is much appreciated.


Here is the ref for ketai

And it does indeed seem the flash functionality isnt available without some camera instance as all the following examples require this.

1 Like