FocusSettings.Mode FocusSettings.Mode FocusSettings.Mode FocusSettings.Mode FocusSettings.Mode Property

Definition

Gets or sets a value indicating the focus mode setting.

public : FocusMode Mode { get; set; }
FocusMode Mode();

void Mode(FocusMode mode);
public FocusMode Mode { get; set; }
Public ReadWrite Property Mode As FocusMode
var focusMode = focusSettings.mode;
focusSettings.mode = 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.