scanQRCode

Calls the system scanning function to scan a QR code and return the result.

Request Parameters

circle-info

None

Response Parameters

Parameter Name
Type
Description

result

String

String result returned after scanning.

Call Example

example.js
const response = await relayx.scanQRCode();
if (response.code === 200) {
  console.log("Scanned QRCode:", response.result);
}