IsFlashModeSupported Method
Collapse the table of content
Expand the table of content

PhotoCamera.IsFlashModeSupported Method

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

Determines whether a particular flash mode is supported on the device.

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

public bool IsFlashModeSupported(
	FlashMode mode


Type: Microsoft.Devices.FlashMode
The flash mode.

Return Value

Type: System.Boolean
true if the specified flash mode is supported; otherwise, false.

For more information about how to implement this member, see How to use camera flash in an app for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

© 2017 Microsoft