Core API
The CoreExtendedNFC namespace exposes the high-level flows used by apps.
public static func scan(message: String? = nil) async throws -> (CardInfo, any NFCTagTransport, NFCSessionManager)
public static func scanAndDump(message: String? = nil) async throws -> (CardInfo, MemoryDump)
public static func dumpCard(info: CardInfo, transport: any NFCTagTransport) async throws -> MemoryDump
public static func readNDEF(info: CardInfo, transport: any NFCTagTransport) async throws -> NDEFMessage
public static func writeNDEF(_ message: NDEFMessage, info: CardInfo, transport: any NFCTagTransport) async throws
public static func readPassport(mrzKey: String, dataGroups: [DataGroupId], performActiveAuth: Bool) async throws -> PassportModel
public static func readTransitBalance(info: CardInfo, transport: any NFCTagTransport) async throws -> TransitBalance
public static func exportJSON(dump: MemoryDump, prettyPrinted: Bool = true) throws -> String