reportStatusResult

Reports the successful result of a |SCardStatus| call.

This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa

Official doc

Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.


inline suspend fun reportStatusResult(requestId: String, readerName: String, state: ConnectionState, atr: String, optionalArgs: ReportStatusResultRequest.Builder.() -> Unit = {}): ReportStatusResultResponse

Reports the successful result of a |SCardStatus| call.

This maps to: PC/SC Lite: https://pcsclite.apdu.fr/api/group__API.html#gae49c3c894ad7ac12a5b896bde70d0382 Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/winscard/nf-winscard-scardstatusa

Official doc

Parameters

requestId

(undocumented in the protocol definition)

readerName

(undocumented in the protocol definition)

state

(undocumented in the protocol definition)

atr

(undocumented in the protocol definition)