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

Example Databases

Blog Entries

This function checks for a license.

Created 11st September 2016, last changed 14th November 2018


ImageCapture.CameraInfo - ImageCapture.Contents