Package-level declarations

Types

Link copied to clipboard
@Serializable(with = ConnectionStateSerializer::class)
sealed interface ConnectionState

Maps to |SCARD_*| connection state values.

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the SmartCardEmulationDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable(with = DispositionSerializer::class)
sealed interface Disposition

Indicates what the reader should do with the card.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the SmartCardEmulationDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable(with = ProtocolSerializer::class)
sealed interface Protocol

Maps to the |SCARD_PROTOCOL_*| values.

Link copied to clipboard
Link copied to clipboard
@Serializable
data class ProtocolSet(val t0: Boolean? = null, val t1: Boolean? = null, val raw: Boolean? = null)

Maps to the |SCARD_PROTOCOL_*| flags.

Link copied to clipboard
@Serializable
data class ReaderStateFlags(val unaware: Boolean? = null, val ignore: Boolean? = null, val changed: Boolean? = null, val unknown: Boolean? = null, val unavailable: Boolean? = null, val empty: Boolean? = null, val present: Boolean? = null, val exclusive: Boolean? = null, val inuse: Boolean? = null, val mute: Boolean? = null, val unpowered: Boolean? = null)

Maps to the |SCARD_STATE_*| flags.

Link copied to clipboard
@Serializable
data class ReaderStateIn(val reader: String, val currentState: ReaderStateFlags, val currentInsertionCount: Int)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ReaderStateOut(val reader: String, val eventState: ReaderStateFlags, val eventCount: Int, val atr: String)

(undocumented in the protocol definition)

Link copied to clipboard
@Serializable
data class ReportBeginTransactionResultRequest(val requestId: String, val handle: Int)

Request object containing input parameters for the SmartCardEmulationDomain.reportBeginTransactionResult command.

Link copied to clipboard

A dummy response object for the SmartCardEmulationDomain.reportBeginTransactionResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportConnectResultRequest(val requestId: String, val handle: Int, val activeProtocol: Protocol? = null)

Request object containing input parameters for the SmartCardEmulationDomain.reportConnectResult command.

Link copied to clipboard
@Serializable
object ReportConnectResultResponse

A dummy response object for the SmartCardEmulationDomain.reportConnectResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportDataResultRequest(val requestId: String, val data: String)

Request object containing input parameters for the SmartCardEmulationDomain.reportDataResult command.

Link copied to clipboard
@Serializable
object ReportDataResultResponse

A dummy response object for the SmartCardEmulationDomain.reportDataResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportErrorRequest(val requestId: String, val resultCode: ResultCode)

Request object containing input parameters for the SmartCardEmulationDomain.reportError command.

Link copied to clipboard
@Serializable
object ReportErrorResponse

A dummy response object for the SmartCardEmulationDomain.reportError command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportEstablishContextResultRequest(val requestId: String, val contextId: Int)

Request object containing input parameters for the SmartCardEmulationDomain.reportEstablishContextResult command.

Link copied to clipboard

A dummy response object for the SmartCardEmulationDomain.reportEstablishContextResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportGetStatusChangeResultRequest(val requestId: String, val readerStates: List<ReaderStateOut>)

Request object containing input parameters for the SmartCardEmulationDomain.reportGetStatusChangeResult command.

Link copied to clipboard

A dummy response object for the SmartCardEmulationDomain.reportGetStatusChangeResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportListReadersResultRequest(val requestId: String, val readers: List<String>)

Request object containing input parameters for the SmartCardEmulationDomain.reportListReadersResult command.

Link copied to clipboard

A dummy response object for the SmartCardEmulationDomain.reportListReadersResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportPlainResultRequest(val requestId: String)

Request object containing input parameters for the SmartCardEmulationDomain.reportPlainResult command.

Link copied to clipboard
@Serializable
object ReportPlainResultResponse

A dummy response object for the SmartCardEmulationDomain.reportPlainResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportReleaseContextResultRequest(val requestId: String)

Request object containing input parameters for the SmartCardEmulationDomain.reportReleaseContextResult command.

Link copied to clipboard

A dummy response object for the SmartCardEmulationDomain.reportReleaseContextResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class ReportStatusResultRequest(val requestId: String, val readerName: String, val state: ConnectionState, val atr: String, val protocol: Protocol? = null)

Request object containing input parameters for the SmartCardEmulationDomain.reportStatusResult command.

Link copied to clipboard
@Serializable
object ReportStatusResultResponse

A dummy response object for the SmartCardEmulationDomain.reportStatusResult command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable(with = ResultCodeSerializer::class)
sealed interface ResultCode

Indicates the PC/SC error code.

Link copied to clipboard
@Serializable(with = ShareModeSerializer::class)
sealed interface ShareMode

Maps to the |SCARD_SHARE_*| values.

Link copied to clipboard

(undocumented in the protocol definition)