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)
Syntax
Public Function IsFlashModeSupported ( _
mode As FlashMode _
) As Boolean
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.
Remarks
For more information about how to implement this member, see How to use camera flash in an app for Windows Phone 8.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1
Platforms
Windows Phone