ERESULT RequestCamera(int camera);The installed camera to use. You can specify a camera by number, or you can specify a camera location.
An ERESULT value describing the status known up to that point.
Binds the class to the specified camera object. It will release a camera object selected by a previous request. Camera devices are often asynchronous, and the status will be sent to OnCameraChange, either during the function call, or later as part of an event. If the success is known at the time of the call, the function will return it, otherwise E_OK is returned.
When a camera location is specified, the function makes a best-effort attempt to select a camera with the desired property. If there is no such camera, or the information is unknown, a camera is guessed instead. The actual properties can be retrieved after the OnCameraChange callback.
- EDGELIB 4.00: Added this function