PhotoCamera.IsFlashModeSupported Method

July 28, 2014

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
)

Parameters

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

Show:
© 2014 Microsoft