|
- {"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader\/readerSession(_:didInvalidateWithError:)"},"schemaVersion":{"major":0,"patch":0,"minor":3},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/nfcreader\/readersession(_:didinvalidatewitherror:)"]}],"metadata":{"modules":[{"name":"Fueling"}],"externalID":"c:@M@Fueling@objc(cs)NFCReader(im)readerSession:didInvalidateWithError:","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"readerSession","kind":"identifier"},{"kind":"text","text":"("},{"text":"NFCNDEFReaderSession","preciseIdentifier":"c:objc(cs)NFCNDEFReaderSession","kind":"typeIdentifier"},{"kind":"text","text":", "},{"kind":"externalParam","text":"didInvalidateWithError"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:s5ErrorP","text":"Error","kind":"typeIdentifier"},{"text":")","kind":"text"}],"roleHeading":"Instance Method","title":"readerSession(_:didInvalidateWithError:)","symbolKind":"method"},"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader"]]},"sections":[],"abstract":[{"text":"Called when the NFC reader session is invalidated with an error.","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"tokens":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"readerSession","kind":"identifier"},{"text":"(","kind":"text"},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"session"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"NFCNDEFReaderSession","preciseIdentifier":"c:objc(cs)NFCNDEFReaderSession"},{"kind":"text","text":", "},{"text":"didInvalidateWithError","kind":"externalParam"},{"text":" ","kind":"text"},{"kind":"internalParam","text":"error"},{"text":": ","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:s5ErrorP"},{"text":")","kind":"text"}],"platforms":["iOS"]}]},{"kind":"parameters","parameters":[{"content":[{"type":"paragraph","inlineContent":[{"type":"text","text":"The NFC reader session."}]}],"name":"session"},{"name":"error","content":[{"type":"paragraph","inlineContent":[{"text":"The error that caused the session to invalidate.","type":"text"}]}]}]},{"content":[{"level":2,"text":"Discussion","type":"heading","anchor":"discussion"},{"code":["func readerSession(_ session: NFCNDEFReaderSession, didInvalidateWithError error: Error) {"," self.result = .failure(error)","}"],"type":"codeListing","syntax":"swift"}],"kind":"content"}],"kind":"symbol","references":{"doc://rpm.com.production.Scanner/documentation/Fueling":{"kind":"symbol","url":"\/documentation\/fueling","title":"Fueling","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","abstract":[{"type":"text","text":"The Scanner app is designed to facilitate secure and efficient fuel management operations, primarily focusing on user authentication, fuel data collection, and network communication. The app includes several key features to ensure seamless and reliable interactions between users and the backend systems, leveraging technologies like WebSockets, Core Data, and biometric authentication."}],"type":"topic","role":"collection"},"doc://rpm.com.production.Scanner/documentation/Fueling/NFCReader/readerSession(_:didInvalidateWithError:)":{"kind":"symbol","title":"readerSession(_:didInvalidateWithError:)","abstract":[{"text":"Called when the NFC reader session is invalidated with an error.","type":"text"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader\/readerSession(_:didInvalidateWithError:)","url":"\/documentation\/fueling\/nfcreader\/readersession(_:didinvalidatewitherror:)","role":"symbol","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"kind":"identifier","text":"readerSession"},{"kind":"text","text":"("},{"kind":"typeIdentifier","text":"NFCNDEFReaderSession","preciseIdentifier":"c:objc(cs)NFCNDEFReaderSession"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"didInvalidateWithError"},{"text":": ","kind":"text"},{"text":"Error","kind":"typeIdentifier","preciseIdentifier":"s:s5ErrorP"},{"text":")","kind":"text"}],"type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/NFCReader":{"navigatorTitle":[{"kind":"identifier","text":"NFCReader"}],"abstract":[{"text":"A class that handles NFC reading operations and notifies observers about the results.","type":"text"}],"kind":"symbol","title":"NFCReader","fragments":[{"text":"class","kind":"keyword"},{"text":" ","kind":"text"},{"text":"NFCReader","kind":"identifier"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/NFCReader","role":"symbol","type":"topic","url":"\/documentation\/fueling\/nfcreader"}}}
|