NfcTools

object NfcTools

Provider for the NFC tools: GetNfcStatusTool, ReadNfcTagTool, and WriteNfcTagTool.

Read/write tools rely on the host Activity feeding scanned tags into NfcTagCache via NFC foreground dispatch.

Functions

Link copied to clipboard
fun all(context: Context): List<McpTool>

Instantiates all NFC tools bound to context.

Link copied to clipboard

Returns whether context holds the NFC permission.

Link copied to clipboard

The install-time NFC permission required by all NFC tools.