Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ImageCapture.CloseDevice
Requests to close a previously opened session on this device.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImageCapture | 6.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ImageCapture.CloseDevice" { ; Wait } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Wait | Pass 1 to wait till complete. Or pass 0 to return immediately. Default is 1 to wait. |
0 | Optional |
Result
Returns OK or error.
Description
Requests to close a previously opened session on this device.Added 20 seconds timeout for version 8.5.
Examples
Closes device:
Set Variable [$r; Value:MBS("ImageCapture.CloseDevice")]
See also
Release notes
- Version 8.4
- Changed ImageCapture.OpenDevice and ImageCapture.CloseDevice to only request closing of the current session, if there is one open to avoid freeze.
- Version 8.3
- Added wait parameter for ImageCapture.CloseDevice, ImageCapture.OpenDevice, ImageCapture.RequestDeleteFiles, ImageCapture.requestOverviewScan, ImageCapture.requestScan and ImageCapture.requestSelectFunctionalUnit functions.
Example Databases
Blog Entries
FileMaker Magazin
This function checks for a license.
Created 11st September 2016, last changed 14th November 2018