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

1 строка
7.5 KiB

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