SwiftinitAppIntentSchemasAppIntentSchemas.Dialog.Switch
init
AppIntentSchemas.Dialog.Switch.init<A where A: Decodable, A: Encodable, A: Hashable, A: Sendable>(_: AppIntentSchemas.ParameterSchema, cases: () -> [AppIntentSchemas.Dialog.SwitchCase<A>]) -> AppIntentSchemas.Dialog.Switch
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
AprotocolSwift.Decodable - conformance:genericParameter
AprotocolSwift.Encodable - conformance:genericParameter
AprotocolSwift.Hashable - conformance:genericParameter
AprotocolSwift.Sendable
param{}
- 0_
- 1cases:function
() -> [AppIntentSchemas.Dialog.SwitchCase<A>]- arggenericParameter
A