FocusControl.Configure(FocusSettings) FocusControl.Configure(FocusSettings) FocusControl.Configure(FocusSettings) FocusControl.Configure(FocusSettings) FocusControl.Configure(FocusSettings) Method

Definition

Configures the FocusControl object with values specified in the provided FocusSettings object.

public : void Configure(FocusSettings settings)
void Configure(FocusSettings settings) const;
public void Configure(FocusSettings settings)
Public Sub Configure(settings As FocusSettings)
focusControl.configure(settings);

Parameters

settings
FocusSettings FocusSettings FocusSettings

The focus settings to use to configure the FocusControl object.

Remarks

Autofocus mode, enabled by using the FocusMode.Continuous value in the FocusSettings object supplied to this method, is only supported while the preview stream is running. Check to make sure that the preview stream is running before turning on continuous autofocus.