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 81. SDK
pgManager.disconnectDisplay()
Example 82. Intent
val intent = Intent() intent.setAction("com.proglove.api.DISPLAY_DISCONNECT") sendBroadcast(intent)