PhotoCaptureDevice.GetSupportedPropertyValues method
[This topic contains pre-release information and is subject to change. Blank topics are included as placeholders.]
7/25/2012
Gets a list of supported values for a known camera property.
Syntax
public static IReadOnlyList<object> GetSupportedPropertyValues(
CameraType sensor,
Guid propertyId
)
Public Shared Function GetSupportedPropertyValues(
sensor As CameraType,
propertyId As Guid
) As IReadOnlyList(Of Object)
public:
static IVectorView<Object^>^ GetSupportedPropertyValues(
CameraType sensor,
Guid propertyId
)
Parameters
sensor
Type: CameraTypeThe 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 |
Windows 8 Release Preview |
Minimum supported server |
Windows Server 2012 |
Namespace |
Windows.Phone.Media.Capture Windows::Phone::Media::Capture [C++] |
Metadata |
Windows.winmd |
See also
Build date: 7/25/2012