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