Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ImagePicker.IsCameraDeviceAvailable
Checks camera availability.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImagePicker | 7.3 | ❌ No | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "ImagePicker.IsCameraDeviceAvailable"; CameraDevice ) More
Parameters
Parameter | Description | Example |
---|---|---|
CameraDevice | The new setting. Can be front or rear. |
"front" |
Result
Returns 1, 0 or error.
Description
Checks camera availability.Returns a Boolean value that indicates whether a given camera is available.
See also
This function is free to use.
Created 17th June 2017, last changed 18th June 2017
ImagePicker.HasMedia - ImagePicker.IsFlashAvailableForCameraDevice