ImagePicker.IsFlashAvailableForCameraDevice
-------------------------------------------

Checks flash availability.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [ImagePicker](component_ImagePicker.md) | [7.3](newinversion73.md) | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "ImagePicker.IsFlashAvailableForCameraDevice"; CameraDevice ) 

**MBS**( **"ImagePicker.IsFlashAvailableForCameraDevice";** /\* Checks flash availability. \*/  
**$CameraDevice**) /\* Which camera to check.  
Can be front or rear.e.g. "front" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| CameraDevice | Which camera to check.   Can be front or rear. | "front" |

### Result

Returns 1, 0 or error.

### Description

Checks flash availability.  
Indicates whether a given camera has flash illumination capability.  
Returns 1 if flash is available or 0 if not.  
This function is free to use.

Created 17th June 2017 , last changed 18th June 2017

  
[ImagePicker.IsCameraDeviceAvailable](ImagePickerIsCameraDeviceAvailable.md) - [ImagePicker.IsPresented](ImagePickerIsPresented.md)

[HTML Version](ImagePickerIsFlashAvailableForCameraDevice.shtml)