onecore
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
onecore
onecore
/
ch.procivis.one.core.nfc
/
EngagementService
Engagement
Service
class
EngagementService
:
HostApduService
Provided implementation of NFC HCE
Must be used together with the
HCE
Members
Constructors
Engagement
Service
Link copied to clipboard
constructor
(
)
Functions
on
Deactivated
Link copied to clipboard
open
override
fun
onDeactivated
(
reason
:
Int
)
on
Destroy
Link copied to clipboard
open
override
fun
onDestroy
(
)
on
Response
Link copied to clipboard
@
Subscribe
fun
onResponse
(
event
:
HCE.ApduResponse
)
on
Start
Command
Link copied to clipboard
open
override
fun
onStartCommand
(
intent
:
Intent
,
flags
:
Int
,
startId
:
Int
)
:
Int
on
Stop
Request
Link copied to clipboard
@
Subscribe
fun
onStopRequest
(
event
:
HCE.StopHostingRequest
)
process
Command
Apdu
Link copied to clipboard
open
override
fun
processCommandApdu
(
commandApdu
:
ByteArray
,
extras
:
Bundle
?
)
:
ByteArray
?