Share via


FocusSettings.Mode Property

Definition

Gets or sets a value indicating the focus mode setting.

public:
 property FocusMode Mode { FocusMode get(); void set(FocusMode value); };
FocusMode Mode();

void Mode(FocusMode value);
public FocusMode Mode { get; set; }
var focusMode = focusSettings.mode;
focusSettings.mode = focusMode;
Public Property Mode As FocusMode

Property Value

A value indicating the focus mode setting.

Remarks

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

Applies to