PhotoCaptureDevice.GetAvailableCaptureResolutions method

Gets the resolutions that are available for photo capture.

Syntax

public static IReadOnlyList<Size> GetAvailableCaptureResolutions(
  CameraSensorLocation sensor
)
Public Shared Function GetAvailableCaptureResolutions(
  sensor As CameraSensorLocation 
) As IReadOnlyList(Of Size)
public:
static IVectorView<Size>^ GetAvailableCaptureResolutions(
  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 in units of pixels that are available for photo capture.

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