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