ZebraQuery
Methods#
enumerateScanners#
Generate an index of scanners available on the device. https://techdocs.zebra.com/datawedge/latest/guide/api/enumeratescanners
Returns: Promise<ZebraDeviceScanner[]>
getActiveProfile#
Gets the name of the Profile currently in use by DataWedge. https://techdocs.zebra.com/datawedge/latest/guide/api/getactiveprofile
Returns: Promise<string>
getAssociatedApps#
Gets the apps associated in the specified Profile. https://techdocs.zebra.com/datawedge/latest/guide/api/getconfig/#getappassociations
Parameters#
| Name | Type |
|---|---|
profileName | string |
Returns: Promise<DataWedgeAppConfig[]>
getConfig#
Gets the paramList settings in the specified Profile, returned as a set of value pairs or a plugin config bundle. https://techdocs.zebra.com/datawedge/latest/guide/api/getconfig
Parameters#
| Name | Type |
|---|---|
options | GetConfigOptions |
Returns: Promise<ZebraProfileConfiguration>
getDatawedgeStatus#
Return the DataWedge status, enabled or disabled. https://techdocs.zebra.com/datawedge/latest/guide/api/getdatawedgestatus
Returns: Promise<{ isEnabled: boolean }>
getDisabledAppList#
Return a list of apps and activities that are blocked from using DataWedge. https://techdocs.zebra.com/datawedge/latest/guide/api/getdisabledapplist
Returns: Promise<DataWedgeAppConfig[]>
getIgnoreDisabledProfiles#
Return the status of the "Ignore Disabled Profiles" parameter. If true, DataWedge cannot switch to any profile that is not enabled. https://techdocs.zebra.com/datawedge/latest/guide/api/getignoredisabledprofiles
Returns: Promise<boolean>
getProfilesList#
Return the list of DataWedge profiles. https://techdocs.zebra.com/datawedge/latest/guide/api/getprofileslist
Returns: Promise<string[]>
getScannerStatus#
Return the status of the scanner currently selected as the default. https://techdocs.zebra.com/datawedge/latest/guide/api/getscannerstatus
Returns: Promise<ScannerStatus>
getVersionInfo#
Return the current version of DataWedge and Scanner Framework/Decoder library installed on the device. https://techdocs.zebra.com/datawedge/latest/guide/api/getversioninfo
Returns: Promise<ZebraDeviceVersionInfo>