Skip to content

How to 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.

pgManager.disconnectDisplay()
val intent = Intent()
intent.setAction("com.proglove.api.DISPLAY_DISCONNECT")
sendBroadcast(intent)