IsFocusSupported method

PhotoCaptureDevice.IsFocusSupported method

Returns a value indicating whether or not autofocus is supported by the specified camera.

Syntax


public static bool IsFocusSupported(
  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++]

Returns true if autofocus is supported; false if autofocus is not supported.

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:
© 2016 Microsoft