Package: android.hardware.nfc@1.1

INfc

interface INfc extends @1.0::INfc

Methods

factoryReset

factoryReset ()

Clears the NFC chip.

Must be called during factory reset and/or before the first time the HAL is initialized after a factory reset

Details

closeForPowerOffCase

closeForPowerOffCase ()
generates (NfcStatus status)

Enable Power off use cases and close the NFC controller.Should free all resources.

This call must enable NFC functionality for off host usecases in power off use cases, if the device supports power off use cases.If the device doesn't support power off use cases, this call should be same as close()

Details
Generates
status

open_1_1

open_1_1 (INfcClientCallback clientCallback)
generates (NfcStatus status)

Open call to take the@1.1::INfcClientCallback

Details
Parameters
clientCallback
for sending events and data to client.
Generates
status
NfcStatus::FAILED in case of error, NfcStatus::SUCCESS otherwise.

getConfig

getConfig ()
generates (NfcConfig config)

Fetches vendor specific configurations.

Details
Generates
config
indicates support for certain features and populates the vendor specific configs