PhotoCaptureDevice.GetSupportedPropertyValues method

Applies to Windows Phone only

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

Syntax


public static IReadOnlyList<object> GetSupportedPropertyValues(
  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: IVectorView<Object> [C++] | System.Collections.Generic.IReadOnlyList<Object> [.NET]

The property values 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

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft