Camera.IsCameraTypeSupported Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether the specified type of camera is supported on the device.

Namespace:  Microsoft.Devices
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public Shared Function IsCameraTypeSupported ( _
    type As CameraType _
) As Boolean
public static bool IsCameraTypeSupported(
    CameraType type
)

Parameters

Return Value

Type: System..::.Boolean
true if the specified type of camera is supported on the device; otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

Camera Class

Microsoft.Devices Namespace