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