IsFocusRegionSupported method

PhotoCaptureDevice.IsFocusRegionSupported method

Specifies whether the camera can be auto-focused programmatically.

Syntax


public static bool IsFocusRegionSupported(
  CameraSensorLocation sensor
)

Parameters

sensor

Type: CameraSensorLocation

The location of the camera on the phone (front or back).

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

True if autofocus can be initiated programmatically; otherwise, false.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Media.Capture
Windows::Phone::Media::Capture [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]

Attributes

[Deprecated()]

See also

PhotoCaptureDevice

 

 

Show:
© 2017 Microsoft