btPrinterDisconnect
Last updated
Disconnects a bluetooth printer from the device.
timeout
The duration the printer can be idle for before it is disconnected.
String/Text
-
-
Yes
N/A
The function to be executed if the printer is disconnected successfully.
The function to be executed if the printer is not disconnected successfully.
Coming Soon.
The user wants to disconnect a printer from their device.
Call the function btPrinterDisconnect in a button component.

Call the function infoDialog in the callbacks of the btPrinterDisconnect function.



If the printer is idle longer than the timeout duration passed, the printer will be disconnected and the success infoDialog will appear. If the printer is not disconnected successfully, the error infoDialog will appear.
Select the printer to disconnect from the combobox.

Press the Disconnect button. If the printer is disconnected successfully, the success infoDialog will appear. If the printer is not disconnected successfully, the error dialog will appear.
Last updated