GetAvailablePreviewResolutions method

PhotoCaptureDevice.GetAvailablePreviewResolutions method

Gets the resolutions that are available from the camera preview.

Syntax


public static IReadOnlyList<Size> GetAvailablePreviewResolutions(
  CameraSensorLocation sensor
)

Parameters

sensor

Type: CameraSensorLocation

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

Return value

Type: IVectorView<Size> [C++] | System.Collections.Generic.IReadOnlyList<Size> [.NET]

The resolutions that are available from the camera preview.

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