Af2Camera.names - affluxis/csjava GitHub Wiki
Usage
Af2Camera.names
Description
Read-only class property; retrieves an array of strings reflecting the names of all available cameras. This array behaves the same as any other Java array, implicitly providing the zero-based index of each camera and the number of cameras on the system (by means of Af2Camera.names.length). Calling Af2Camera.names requires an extensive examination of the hardware, and it may take several seconds to build the array. In most cases, you can just use the default camera.
Example
The following example uses the default camera.
camArray = Af2Camera.names;
if(camArray.length > 1) Af2System.showSettings(this, 3);
See also
Af2Camera.get, Af2Camera.index