Contents

valueQueries

The definitions for the app’s intent value queries.

Declaration

var valueQueries: IntentDefinitions.DefinitionCollection<IntentValueQueryDefinition> { get }

Discussion

Access individual value query definitions using subscript syntax with the query’s type name as shown in the following example:

let definitions = IntentDefinitions(
    bundleIdentifier: "com.apple.example"
)
let landmarkQuery = definitions.valueQueries[
    "LandmarkIntentValueQuery"
]

See Also

Accessing app entities and queries