NfcHceImpl

Provider of NFC host-card emulation (HCE)

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 suspend override fun isEnabled(): Boolean
Link copied to clipboard
open suspend override fun isSupported(): Boolean
Link copied to clipboard
open suspend override fun startHosting(handler: NfcHceHandler, message: String?)

Starts NFC host-card emulation (HCE)

Link copied to clipboard
open suspend override fun stopHosting(success: Boolean)

stops emulation started via start_hosting

Link copied to clipboard
fun uniffiClonePointer(): Pointer