|
- {"abstract":[{"text":"Inherited from ","type":"text"},{"code":"View.onKeyPress(_:phases:action:)","type":"codeVoice"},{"type":"text","text":"."}],"primaryContentSections":[{"kind":"declarations","declarations":[{"tokens":[{"kind":"attribute","text":"nonisolated"},{"text":" ","kind":"text"},{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"onKeyPress","kind":"identifier"},{"kind":"text","text":"("},{"text":"_","kind":"externalParam"},{"text":" ","kind":"text"},{"text":"key","kind":"internalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI13KeyEquivalentV","text":"KeyEquivalent","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"phases","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"kind":"text","text":"."},{"text":"Phases","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV"},{"text":", ","kind":"text"},{"text":"action","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"@escaping","kind":"keyword"},{"text":" (","kind":"text"},{"kind":"typeIdentifier","text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"text":") -> ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress"},{"text":".","kind":"text"},{"text":"Result","preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}],"platforms":["iOS"],"languages":["swift"]}]}],"identifier":{"interfaceLanguage":"swift","url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/onKeyPress(_:phases:action:)"},"kind":"symbol","sections":[],"schemaVersion":{"patch":0,"major":0,"minor":3},"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/View-Implementations"]]},"metadata":{"fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"onKeyPress"},{"text":"(","kind":"text"},{"preciseIdentifier":"s:7SwiftUI13KeyEquivalentV","text":"KeyEquivalent","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"kind":"externalParam","text":"phases"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"text":".","kind":"text"},{"text":"Phases","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV"},{"text":", ","kind":"text"},{"text":"action","kind":"externalParam"},{"text":": (","kind":"text"},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"text":") -> ","kind":"text"},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"kind":"text","text":"."},{"preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","text":"Result","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI4ViewP","text":"View","kind":"typeIdentifier"}],"modules":[{"name":"Fueling","relatedModules":["SwiftUICore"]}],"roleHeading":"Instance Method","externalID":"s:7SwiftUI4ViewPAAE10onKeyPress_6phases6actionQrAA0E10EquivalentV_AA0eF0V6PhasesVAJ6ResultOAJctF::SYNTHESIZED::s:7Fueling9ScanView2V","role":"symbol","symbolKind":"method","platforms":[{"deprecated":false,"introducedAt":"17.0","unavailable":false,"beta":false,"name":"iOS"},{"beta":false,"deprecated":false,"name":"iPadOS","introducedAt":"17.0","unavailable":false},{"deprecated":false,"name":"Mac Catalyst","introducedAt":"17.0","beta":false,"unavailable":false},{"unavailable":false,"deprecated":false,"beta":false,"name":"macOS","introducedAt":"14.0"},{"name":"tvOS","unavailable":false,"beta":false,"deprecated":false,"introducedAt":"17.0"}],"title":"onKeyPress(_:phases:action:)","extendedModule":"SwiftUICore"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/scanview2\/onkeypress(_:phases:action:)"]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2/onKeyPress(_:phases:action:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/onKeyPress(_:phases:action:)","fragments":[{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"onKeyPress","kind":"identifier"},{"kind":"text","text":"("},{"text":"KeyEquivalent","preciseIdentifier":"s:7SwiftUI13KeyEquivalentV","kind":"typeIdentifier"},{"text":", ","kind":"text"},{"text":"phases","kind":"externalParam"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress"},{"text":".","kind":"text"},{"kind":"typeIdentifier","text":"Phases","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV"},{"kind":"text","text":", "},{"kind":"externalParam","text":"action"},{"kind":"text","text":": ("},{"preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier","text":"KeyPress"},{"kind":"text","text":") -> "},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","text":"Result"},{"text":") -> ","kind":"text"},{"kind":"keyword","text":"some"},{"text":" ","kind":"text"},{"text":"View","preciseIdentifier":"s:7SwiftUI4ViewP","kind":"typeIdentifier"}],"type":"topic","url":"\/documentation\/fueling\/scanview2\/onkeypress(_:phases:action:)","title":"onKeyPress(_:phases:action:)","kind":"symbol","role":"symbol","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/ScanView2":{"kind":"symbol","abstract":[{"type":"codeVoice","code":"ScanView2"},{"text":" is a SwiftUI view that manages the UI for scanning and displaying tank information.","type":"text"}],"navigatorTitle":[{"kind":"identifier","text":"ScanView2"}],"fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"ScanView2"}],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2","role":"symbol","type":"topic","title":"ScanView2","url":"\/documentation\/fueling\/scanview2"},"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/ScanView2/View-Implementations":{"title":"View Implementations","abstract":[],"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/ScanView2\/View-Implementations","role":"collectionGroup","type":"topic","url":"\/documentation\/fueling\/scanview2\/view-implementations","kind":"article"}}}
|