focus.getCurrent()

Description

Gets the current focus setting for the current camera.

Syntax

DCSObject.camera.focus.getCurrent();

Parameters

None

Return value

long

Remarks

The method should be called after camera.selectCamera(). If there is only one data source available, it will be selected automatically.

Example

             DCSObject.camera.selectCamera("Integrated Camera");
             DCSObject.camera.focus.getCurrent();  // Get the focus setting for the current camera.
      

See also

.camera.focus.setCurrent()
.camera.focus.getDefault()
.camera.focus.getMin()
.camera.focus.getMax()
.camera.focus.getIfAuto()
.camera.focus.setIfAuto()
.camera.focus.getIfDefaultAuto()