This topic has not yet been rated - Rate this topic

PhotoCaptureDevice.IsFocusRegionSupported method

Applies to Windows Phone only

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

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

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

Metadata

Windows.winmd

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]

See also

PhotoCaptureDevice

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.