Click or drag to resize

DeviceUtilGetSensorStates Method

Returns the printer's sensor states.

Namespace:  Zebra.Sdk.Card.Device
Assembly:  SdkApi_Card_Core (in SdkApi_Card_Core.dll) Version: 2.14.1989
Syntax
Dictionary<string, string> GetSensorStates()

Return Value

Type: DictionaryString, String
A Dictionary containing the printer's various sensor names and states.
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error communicating with the printer.
SettingsExceptionIf an error occurs while retrieving the sensor states.
ZebraCardExceptionIf the device is busy.
See Also