ZebraScanEngines_SwitchHostMode


Switch host mode of a specified scanner.

Syntax

C++
Python
 
def ZebraScanEngines_SwitchHostMode(
	state: ZebraScanEngines_State,
	/,
	*,
	inDeviceID: int | None = None,
	inHostMode: ZebraScanEnginesHostModes = ZebraScanEnginesHostModes.USB_SNAPI_with_Imaging,
	inSilentSwitch: bool = False,
	inIsPermanentChange: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState ZebraScanEngines_State
Input value inDeviceID int | None 1 - None Device identifying number
Input value inHostMode ZebraScanEnginesHostModes ZebraScanEnginesHostModes.USB_SNAPI_with_Imaging Scanner USB host mode
Input value inSilentSwitch bool False Whether to suppress the typical device reboot beeps
Input value inIsPermanentChange bool False Whether to keep the targeted host mode as the permanent host mode of the device

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.