connect-sdk / de.proglove.sdk / PgManager / startPairing
startPairing
fun startPairing():
Boolean
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.
Return if the service was NOT connected beforehand or some other error occurred, the connectToScanner Method will return false - otherwise, it will return true.