مشاركة عبر


MediaCaptureFocusState Enum

Definition

Defines the different focus states the capture device can be in.

public enum class MediaCaptureFocusState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaCaptureFocusState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaCaptureFocusState
var value = Windows.Media.Devices.MediaCaptureFocusState.uninitialized
Public Enum MediaCaptureFocusState
Inheritance
MediaCaptureFocusState
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Uninitialized 0

The focus state is uninitialized.

Lost 1

The focus has been lost.

Searching 2

Searching for focus.

Focused 3

Focused.

Failed 4

The attempt to focus has failed.

Applies to