IsCameraTypeSupported Method
Collapse the table of content
Expand the table of content

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)

'Declaration
Public Shared Function IsCameraTypeSupported ( _
	type As CameraType _
) As Boolean

Parameters

type
Type: Microsoft.Devices.CameraType
The type of camera represented by the Camera object; indicates the location of the camera on the device.

Return Value

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft