onecore
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
onecore
onecore
/
ch.procivis.one.core.nfc
/
HCE
HCE
class
HCE
(
val
context
:
Context
)
:
NfcHce
Members
Constructors
HCE
Link copied to clipboard
constructor
(
context
:
Context
)
Types
Apdu
Command
Link copied to clipboard
class
ApduCommand
(
val
command
:
ByteArray
)
Apdu
Response
Link copied to clipboard
class
ApduResponse
(
val
response
:
ByteArray
)
Companion
Link copied to clipboard
object
Companion
Disconnect
Event
Link copied to clipboard
class
DisconnectEvent
Stop
Hosting
Request
Link copied to clipboard
class
StopHostingRequest
Properties
context
Link copied to clipboard
val
context
:
Context
Functions
is
Enabled
Link copied to clipboard
open
suspend override
fun
isEnabled
(
)
:
Boolean
is
Supported
Link copied to clipboard
open
suspend override
fun
isSupported
(
)
:
Boolean
start
Hosting
Link copied to clipboard
open
suspend override
fun
startHosting
(
handler
:
NfcHceHandler
,
message
:
String
?
)
Starts NFC host-card emulation (HCE)
stop
Hosting
Link copied to clipboard
open
suspend override
fun
stopHosting
(
success
:
Boolean
)
stops emulation started via
start_hosting