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