Log in or register to post comments

Inconsistencies with documentation

January 7, 2012 - 9:12am #1

Not sure if this is the best place to post this, but I noticed in the pdf docs (QCAR_1.5_Beta_SDK_documentation_for_iOS.pdf):

pg 20
virtual bool setFlashTorchMode (bool on)=0
virtual bool startAutoFocus ()=0
virtual bool stopAutoFocus ()=0
virtual bool setFocusMode (int focusMode)=0

setFlashTorchMode needs to be SetFlashTorchMode
setFocusMode needs to be SetAutoFocusMode

SetAutoFocusMode also doesn't seem to take an int -- takes a FocusMode instead. Eg:
CameraDevice.Instance.SetAutoFocusMode(CameraDevice.FocusMode.FOCUS_MODE_INFINITY);

Not sure about the others -- just ran into these myself.

Log in or register to post comments