Package-level declarations

Types

Link copied to clipboard
class CardIOException(message: String) : Exception
Link copied to clipboard
sealed class KeypleResult<out T>

KeypleResult wraps the result of a Keyple operation. It can be either a Success or a Failure. In case of a Failure, we provide the error status and message but also the data provided by the server. It's up to your business logic to decide what to do with it.

Link copied to clipboard
class KeypleTerminal(reader: LocalReader, clientId: String, networkClient: SyncNetworkClient, cardSelectionScenarioJsonString: String = "")

KeypleTerminal is the entry point to the Keyple Distributed Client Library. Provided an instance of a NFC reader, and a NetworkClient, this object will handle the Card Selection Scenario if any, connect the NFC Card to the Keyple server and execute the commands sent by the server.

Link copied to clipboard
@Serializable
data class MessageDto(var apiLevel: Int = API_LEVEL, var sessionId: String, var action: String, var clientNodeId: String, var serverNodeId: String? = null, var localReaderName: String? = null, var remoteReaderName: String? = null, var body: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
enum Status : Enum<Status>