|
- {"hierarchy":{"paths":[["doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/View-Implementations"]]},"identifier":{"url":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/onKeyPress(phases:action:)","interfaceLanguage":"swift"},"kind":"symbol","schemaVersion":{"major":0,"minor":3,"patch":0},"sections":[],"metadata":{"fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"onKeyPress"},{"text":"(","kind":"text"},{"text":"phases","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress","kind":"typeIdentifier"},{"text":".","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV","text":"Phases"},{"kind":"text","text":", "},{"text":"action","kind":"externalParam"},{"text":": (","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress"},{"text":") -> ","kind":"text"},{"text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","text":"Result","kind":"typeIdentifier"},{"text":") -> ","kind":"text"},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP","text":"View"}],"title":"onKeyPress(phases:action:)","roleHeading":"Instance Method","modules":[{"name":"Fueling","relatedModules":["SwiftUICore"]}],"externalID":"s:7SwiftUI4ViewPAAE10onKeyPress6phases6actionQrAA0eF0V6PhasesV_AH6ResultOAHctF::SYNTHESIZED::s:7Fueling0A7APIVIewV","role":"symbol","symbolKind":"method","platforms":[{"name":"iOS","deprecated":false,"beta":false,"introducedAt":"17.0","unavailable":false},{"introducedAt":"17.0","unavailable":false,"name":"iPadOS","beta":false,"deprecated":false},{"beta":false,"unavailable":false,"name":"Mac Catalyst","introducedAt":"17.0","deprecated":false},{"name":"macOS","beta":false,"deprecated":false,"introducedAt":"14.0","unavailable":false},{"beta":false,"name":"tvOS","introducedAt":"17.0","deprecated":false,"unavailable":false}],"extendedModule":"SwiftUICore"},"abstract":[{"type":"text","text":"Inherited from "},{"code":"View.onKeyPress(phases:action:)","type":"codeVoice"},{"text":".","type":"text"}],"primaryContentSections":[{"kind":"declarations","declarations":[{"languages":["swift"],"platforms":["iOS"],"tokens":[{"text":"nonisolated","kind":"attribute"},{"text":" ","kind":"text"},{"kind":"keyword","text":"func"},{"text":" ","kind":"text"},{"text":"onKeyPress","kind":"identifier"},{"kind":"text","text":"("},{"text":"phases","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"text":".","kind":"text"},{"text":"Phases","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV"},{"kind":"text","text":" = [.down, .repeat], "},{"text":"action","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"keyword","text":"@escaping"},{"kind":"text","text":" ("},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"kind":"text","text":") -> "},{"text":"KeyPress","preciseIdentifier":"s:7SwiftUI8KeyPressV","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","text":"Result","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"typeIdentifier","text":"View","preciseIdentifier":"s:7SwiftUI4ViewP"},{"text":"\n","kind":"text"}]}]}],"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/fueling\/fuelingapiview\/onkeypress(phases:action:)"]}],"references":{"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew","kind":"symbol","title":"FuelingAPIVIew","role":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"FuelingAPIVIew"}],"navigatorTitle":[{"kind":"identifier","text":"FuelingAPIVIew"}],"abstract":[{"type":"text","text":"A view that displays and manages fueling data, allowing the user to send data to the server."}],"url":"\/documentation\/fueling\/fuelingapiview","type":"topic"},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew/View-Implementations":{"type":"topic","kind":"article","title":"View Implementations","role":"collectionGroup","identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/View-Implementations","url":"\/documentation\/fueling\/fuelingapiview\/view-implementations","abstract":[]},"doc://rpm.com.production.Scanner/documentation/Fueling/FuelingAPIVIew/onKeyPress(phases:action:)":{"identifier":"doc:\/\/rpm.com.production.Scanner\/documentation\/Fueling\/FuelingAPIVIew\/onKeyPress(phases:action:)","title":"onKeyPress(phases:action:)","kind":"symbol","url":"\/documentation\/fueling\/fuelingapiview\/onkeypress(phases:action:)","type":"topic","role":"symbol","abstract":[],"fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"onKeyPress","kind":"identifier"},{"text":"(","kind":"text"},{"kind":"externalParam","text":"phases"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:7SwiftUI8KeyPressV6PhasesV","text":"Phases","kind":"typeIdentifier"},{"kind":"text","text":", "},{"text":"action","kind":"externalParam"},{"kind":"text","text":": ("},{"text":"KeyPress","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV"},{"kind":"text","text":") -> "},{"kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI8KeyPressV","text":"KeyPress"},{"text":".","kind":"text"},{"text":"Result","preciseIdentifier":"s:7SwiftUI8KeyPressV6ResultO","kind":"typeIdentifier"},{"kind":"text","text":") -> "},{"text":"some","kind":"keyword"},{"text":" ","kind":"text"},{"text":"View","kind":"typeIdentifier","preciseIdentifier":"s:7SwiftUI4ViewP"}]},"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"}}}
|