PhotoCaptureDevice.GetSupportedPropertyRange method

Gets a range of supported values for a known camera property.

Syntax


public static CameraCapturePropertyRange GetSupportedPropertyRange(
  CameraSensorLocation sensor, 
  Guid propertyId
)

Parameters

sensor

Type: CameraSensorLocation

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

propertyId

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

The ID of the property, as specified by the KnownCameraGeneralProperties and KnownCameraPhotoProperties classes.

Return value

Type: CameraCapturePropertyRange

The maximum and minimum values of the property that are supported on the phone.

Remarks

Not all known camera properties work with this method. Properties specified by the KnownCameraGeneralProperties and KnownCameraPhotoProperties classes will work with either the GetSupportedPropertyRange method or the GetSupportedPropertyValues method. A property will not work with both of these methods.

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

See also

PhotoCaptureDevice

 

 

Community Additions

ADD
Show:
© 2015 Microsoft