AudioVideoCaptureDevice.GetSupportedPropertyValues method

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

Syntax

public static IReadOnlyList<object> GetSupportedPropertyValues(
  CameraSensorLocation sensor, 
  Guid propertyId
)
Public Shared Function GetSupportedPropertyValues(
  sensor As CameraSensorLocation,  
  propertyId As Guid 
) As IReadOnlyList(Of Object)
public:
static IVectorView<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 KnownCameraAudioVideoProperties 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 KnownCameraAudioVideoProperties 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] ID_CAP_MICROPHONE [Windows Phone]

Attributes

[Deprecated()]

See also

AudioVideoCaptureDevice