An action block that takes a picture without user interaction.
The fiber is will pause until the picture has been taken.
If you want the user to control the camera and to take the picture use the Capture image block instead.
Cameras support different input arguments, leave them unset, or evaluating to
null, to use the default options.
The path can be set to an existing or new file, or to a directory where the file will be placed with an automatic name. The path to the actual JPEG image file saved is assigned to the image file variable. The resulting picture isn’t explicitly added to the “media store”, i.e. made visible in “Gallery” apps, use the Media store add block to do so.
Note! This block may fail if the camera is in use by another app, or by the “face unlock” feature while the device is locked.