blockPgTrigger |
Blocks or unblocks PgTriggers.fun blockPgTrigger(command: PgCommand < BlockPgTriggersParams >, callback: IBlockPgTriggersCallback ): Unit |
changeConfigProfile |
Changes configuration profilefun changeConfigProfile(command: PgCommand < PgConfigProfile >, callback: IPgConfigProfileCallback ): Unit |
disconnectDisplay |
Disconnect from a currently connected Display devicefun disconnectDisplay(): Boolean |
disconnectScanner |
Disconnect from a currently connected Markfun disconnectScanner(): Boolean |
ensureConnectionToService |
Connect to the ProGlove Connect SDK Service, if not connected already. Triggers a Service Binding via (AIDL) IPC to the ProGlove Connect App. Will automatically re-establish the connection if necessary.fun ensureConnectionToService(context: Context ): Boolean |
getConfigProfiles |
Fetches the configuration profilesfun getConfigProfiles(callback: IPgGetConfigProfilesCallback ): Unit |
getScannerConfig |
Fetches the configuration for the connected Scannerfun getScannerConfig(callback: IPgScannerConfigCallback ): Unit |
isConnectedToDisplay |
Information, if this DisplayManager is currently connected to the ProGlove Connect App and to a Displayfun isConnectedToDisplay(): Boolean |
isConnectedToScanner |
Information, if this ScannerManager is currently connected to the ProGlove Connect App and to a Scannerfun isConnectedToScanner(): Boolean |
isConnectedToService |
Information, if this ScannerManager is currently connected to the ProGlove Connect Appfun isConnectedToService(): Boolean |
notifyOnServiceConnected |
fun notifyOnServiceConnected(): Unit |
notifyOnServiceDisconnected |
fun notifyOnServiceDisconnected(): Unit |
setNotificationScreen |
Sets a notification screen on the connected display device. A notification screen is overlaying any active regular screen, is visible for a set amount of time, but will be replaced by any other notification and any other regular screen. There is a guarantee though, that no internal system notification will overlay your notificationfun setNotificationScreen(data: PgScreenData , durationMs: Int , callback: IPgSetScreenCallback ): Unit
fun setNotificationScreen(command: PgCommand < PgScreenData >, callback: IPgSetScreenCallback ): Unit |
setScannerConfig |
Sets the configuration for the connected Scannerfun setScannerConfig(config: PgScannerConfig , callback: IPgScannerConfigCallback ): Unit |
setScreen |
Sets a screen on the connected display devicefun setScreen(data: PgScreenData , callback: IPgSetScreenCallback ): Unit
fun setScreen(command: PgCommand < PgScreenData >, callback: IPgSetScreenCallback ): Unit |
showPickDisplayOrientationDialog |
Calling this method will display a dialog to change the orientation of a connected display device. PgConnect version 1.2.0+ is required.fun showPickDisplayOrientationDialog(context: Context ): PgError ? |
startPairing |
Start the Pairing Process with a Proglove MARK2 Scanner Upon triggering this function, the ProGlove Connect App will show the Pairing Activity (basically, a QR-Code to scan with the MARK2) After a) a timeout has run out or b) the user has scanned the Barcode and hence paired a MARK2 to ProGlove Connect App, the shown activity will disappear. Use this call to start pairing from a background task.fun startPairing(): Boolean |
startPairingFromPinnedActivity |
Start the Pairing Process with a Proglove MARK2 Scanner Upon triggering this function, the ProGlove Connect App will show the Pairing Activity (basically, a QR-Code to scan with the MARK2) After a) a timeout has run out or b) the user has scanned the Barcode and hence paired a MARK2 to ProGlove Connect App, the shown activity will disappear. Use this call to start pairing from a pinned task.fun startPairingFromPinnedActivity(context: Context ): Boolean |
subscribeToButtonPresses |
Subscribe to pressed buttonsfun subscribeToButtonPresses(callback: IButtonOutput ): Unit |
subscribeToDisplayEvents |
Subscribe to connection information for display devicesfun subscribeToDisplayEvents(callback: IDisplayOutput ): Unit |
subscribeToPgTriggersUnblocked |
Subscribe to unblocked PgTriggers events.fun subscribeToPgTriggersUnblocked(callback: IPgTriggersUnblockedOutput ): Unit |
subscribeToScans |
Subscribe to Connection Information and Scanned Barcodesfun subscribeToScans(callback: IScannerOutput ): Unit |
subscribeToServiceEvents |
Subscribe to Connection Information of the sdk-servicefun subscribeToServiceEvents(callback: IServiceOutput ): Unit |
takeImage |
Take a picture with MARKfun takeImage(config: PgImageConfig , timeoutMs: Int , callback: IPgImageCallback ): Unit
fun takeImage(command: PgCommand < PgImageConfig >, callback: IPgImageCallback ): Unit |
triggerFeedback |
Triggers a Feedback on the currently connected Markfun triggerFeedback(predefinedFeedback: PgPredefinedFeedback , callback: IPgFeedbackCallback ): Unit
fun triggerFeedback(command: PgCommand < PgPredefinedFeedback >, callback: IPgFeedbackCallback ): Unit |
unsubscribeFromButtonPresses |
Unsubscribe from pressed buttonsfun unsubscribeFromButtonPresses(callback: IButtonOutput ): Unit |
unsubscribeFromDisplayEvents |
Unsubscribe from connection information for display devicesfun unsubscribeFromDisplayEvents(callback: IDisplayOutput ): Unit |
unsubscribeFromPgTriggersUnblocked |
Unsubscribe from unblocked PgTriggers events.fun unsubscribeFromPgTriggersUnblocked(callback: IPgTriggersUnblockedOutput ): Unit |
unsubscribeFromScans |
Unsubscribe from Connection Information and Scanned Barcodesfun unsubscribeFromScans(callback: IScannerOutput ): Unit |
unsubscribeFromServiceEvents |
Unsubscribe Connection Information of the sdk-servicefun unsubscribeFromServiceEvents(callback: IServiceOutput ): Unit |