ZebraQuery
#
Methods#
enumerateScannersGenerate an index of scanners available on the device. https://techdocs.zebra.com/datawedge/latest/guide/api/enumeratescanners
Returns: Promise<ZebraDeviceScanner[]>
#
getActiveProfileGets the name of the Profile currently in use by DataWedge. https://techdocs.zebra.com/datawedge/latest/guide/api/getactiveprofile
Returns: Promise<string>
#
getAssociatedAppsGets the apps associated in the specified Profile. https://techdocs.zebra.com/datawedge/latest/guide/api/getconfig/#getappassociations
#
ParametersName | Type |
---|---|
profileName | string |
Returns: Promise<DataWedgeAppConfig[]>
#
getConfigGets 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
#
ParametersName | Type |
---|---|
options | GetConfigOptions |
Returns: Promise<ZebraProfileConfiguration>
#
getDatawedgeStatusReturn the DataWedge status, enabled or disabled. https://techdocs.zebra.com/datawedge/latest/guide/api/getdatawedgestatus
Returns: Promise<{ isEnabled
: boolean }>
#
getDisabledAppListReturn a list of apps and activities that are blocked from using DataWedge. https://techdocs.zebra.com/datawedge/latest/guide/api/getdisabledapplist
Returns: Promise<DataWedgeAppConfig[]>
#
getIgnoreDisabledProfilesReturn 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>
#
getProfilesListReturn the list of DataWedge profiles. https://techdocs.zebra.com/datawedge/latest/guide/api/getprofileslist
Returns: Promise<string[]>
#
getScannerStatusReturn the status of the scanner currently selected as the default. https://techdocs.zebra.com/datawedge/latest/guide/api/getscannerstatus
Returns: Promise<ScannerStatus>
#
getVersionInfoReturn 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>