Disconnect a Display device
To disconnect a Display device, call the PgManager.disconnectDisplay()
method or send a broadcast Intent to:
Action:
com.proglove.api.DISPLAY_DISCONNECT
No Extras
Note
After the device is disconnected, you may receive a Display and a scanner disconnected event.
Example 34. SDK
pgManager.disconnectDisplay()
Example 35. Intent
val intent = Intent() intent.setAction("com.proglove.api.DISPLAY_DISCONNECT") sendBroadcast(intent)