Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1 строка
7.7 KiB

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