CameraType Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies the general location of the camera on the device.
Namespace: Microsoft.Devices
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public Enumeration CameraType
public enum CameraType
<object property="enumerationValue" .../>
Members
Member name | Description | |
---|---|---|
Primary | The camera is located on the back of the device. | |
FrontFacing | The camera is located on the front of the device. |
Remarks
Each device varies in support of multiple camera types. You can use the IsCameraTypeSupported(CameraType) method to determine whether the device supports the specified camera. For more information about using the camera in your Windows Phone application, see Camera and photos for Windows Phone 8.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone