get Cross Device Session From QRCode
suspend fun getCrossDeviceSessionFromQRCode(qrCode: String): MIRACLResult<CrossDeviceSession, CrossDeviceSessionException>
Gets the CrossDeviceSession for a QR code.
Return
A MIRACLResult representing the result of the operation:
If successful, returns a MIRACLSuccess with the CrossDeviceSession.
If an error occurs, returns a MIRACLError with a CrossDeviceSessionException describing issues with the operation.
Parameters
qr Code
A string read from the QR code.
fun getCrossDeviceSessionFromQRCode(qrCode: String, resultHandler: ResultHandler<CrossDeviceSession, CrossDeviceSessionException>)
Gets the CrossDeviceSession for a QR code.
Parameters
qr Code
A string read from the QR code.
result Handler
A callback to handle the result of retrieving session details.
If successful, the result is a MIRACLSuccess with the CrossDeviceSession.
If an error occurs, the result is a MIRACLError with an exception describing issues with the operation.