Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ImageCapture.DevicesJSON
Queries list of devices as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImageCapture | 8.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ImageCapture.DevicesJSON" { ; Filter } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Filter | You can filter devices by passing criteria here. The filter string can contain camera, scanner, local, remote, bonjour, bluetooth or shared to only show those devices. |
"Camera, local" | Optional |
Result
Returns JSON or error.
Description
Queries list of devices as JSON.The JSON includes names & IDs of the devices.
Please pass the index or UUIDs to the ImageCapture.DeviceInfo function to query details.
Keys include UUIDString, Name, persistentIDString, serialNumberString, locationDescription, index, remote and shared.
Examples
Check devices:
MBS( "ImageCapture.DevicesJSON" )
See also
Release notes
- Version 8.4
- Added alternateNames entry to ImageCapture.DevicesJSON to list alternate names we found.
- Version 8.3
- Added ImageCapture.DevicesJSON function.
Blog Entries
This function checks for a license.
Created 26th June 2018, last changed 26th June 2018