Contents

IntentExpectationBuilder

A result builder that collects the intents in a calls expectation.

Declaration

@resultBuilder enum IntentExpectationBuilder

Overview

A bare AppIntentDefinition (match-any) and an AppIntentExpectation (CreateEventIntent.expect(title:)) are both AppIntentExpectationProviding, so one overload lowers either straight to an any AppIntentExpectationProviding — no separate definition/expectation paths.

Topics

Building results

See Also

Creating a call expectation