Protocol

NFCTag

A collection of attributes that represent an NFC or RFID tag.

Declaration

protocol NFCTag

Overview

When an NFC reader session detects a tag, it returns an object that conforms to this protocol.

Topics

Getting Information About a Tag

var isAvailable: Bool

A Boolean value that indicates whether a detected tag is available.

Required.

var session: NFCReaderSessionProtocol?

The reader session that provides the tag.

Required.

var type: NFCTagType

The tag type.

Required.

enum NFCTagType

Constants that identify the type of an NFC tag.

Relationships

See Also

NFC Tags

class NFCTagCommandConfiguration

A set of parameters you use to define the configuration of an NFC tag command.