← Back to SmartCardEmulation domain

SmartCardEmulation.reportGetStatusChangeResult

Reports the successful result of a |SCardGetStatusChange| call. This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#ga33247d5d1257d59e55647c3bb717db24 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardgetstatuschangea

Domain: SmartCardEmulation experimental

Parameters

NameTypeDescription
requestIdstring
readerStatesarray

Example Request

{
  "id": 1,
  "method": "SmartCardEmulation.reportGetStatusChangeResult",
  "params": {
    "requestId": "request-1",
    "readerStates": []
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('SmartCardEmulation.reportGetStatusChangeResult', {"requestId": "request-1", "readerStates": []});
console.log(result);