Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun handleCommand(apdu: ByteArray): ByteArray

Handle incoming APDU command, return response

Link copied to clipboard
open suspend override fun onScannerDisconnected()

Called when NFC scanner disconnects

Link copied to clipboard
open suspend override fun onSessionStopped(reason: NfcException)

Called when NFC HCE hosting stops

Link copied to clipboard
fun uniffiClonePointer(): Pointer