PhotoCaptureDevice.GetSupportedPropertyRange method
Gets a range of supported values for a known camera property.
Syntax
public static CameraCapturePropertyRange GetSupportedPropertyRange(
CameraSensorLocation sensor,
Guid propertyId
)
Public Shared Function GetSupportedPropertyRange(
sensor As CameraSensorLocation,
propertyId As Guid
) As CameraCapturePropertyRange
public:
static CameraCapturePropertyRange^ GetSupportedPropertyRange(
CameraSensorLocation sensor,
Guid propertyId
)
Parameters
sensor
Type: CameraSensorLocationThe 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 |
Capabilities |
ID_CAP_ISV_CAMERA [Windows Phone] |
Attributes
[Deprecated()]
See also
PhotoCaptureDevice