Skip to content

NFCTagReaderSession_PollingOption

treastrain edited this page May 7, 2021 · 1 revision

NFCTagReaderSession.PollingOption

Options that determine the type of tags that a reader session should detect during a polling sequence.

struct PollingOption : OptionSet, Codable 

You can combine options to have the reader session scan and detect different tag types at the same time.

Inheritance

CaseIterable, Codable, OptionSet

Initializers

init(rawValue:)

public init(rawValue: Int) 

init(from:)

os(iOS) && !targetEnvironment(macCatalyst)
@available(iOS 13.0, *)
        public init(from coreNFCInstance: CoreNFC.NFCTagReaderSession.PollingOption) 

Properties

iso14443

The option for detecting ISO 7816-compatible and MIFARE tags.

public static var iso14443 

Supports NFC type A and B modulation.

iso15693

The option for detecting ISO 15693 tags.

public static var iso15693 

iso18092

The option for detecting FeliCa tags.

public static var iso18092 

rawValue

public var rawValue: Int

allCases

public static var allCases: [Self] = [
        .iso14443,
        .iso15693,
        .iso18092,
    ]
Clone this wiki locally