ScannerCommand

constructor(code: String, parameters: List<String> = emptyList(), sendFeedback: Boolean = true, ledFeedback: Boolean? = null, buzzerFeedback: Boolean? = null, vibrationFeedback: Boolean? = null)

Parameters

code

The command code to be sent to the scanner.

parameters

Optional parameters to be included with the command.

sendFeedback

A flag to indicate if feedback should be sent.

ledFeedback

A flag to indicate if LED feedback is enabled. Defaults to the global setting if null.

buzzerFeedback

A flag to indicate if buzzer feedback is enabled. Defaults to the global setting if null.

vibrationFeedback

A flag to indicate if vibration feedback is enabled. Defaults to the global setting if null.