---
title: "init(_:_:)"
framework: Siri Evaluations
role: symbol
role_heading: Initializer
platforms: [iOS 27.3+, iPadOS 27.3+, macOS 27.3+, visionOS 27.3+]
path: "sirievaluations/calls/init(_:_:)"
---

# init(_:_:)

Creates an expectation that Siri calls the intents in the block, or doesn’t call them, as the ordering requires.

## Declaration

```swift
init(_ ordering: Calls.Ordering = .ordered, @IntentExpectationBuilder _ content: () -> [any AppIntentExpectationProviding])
```

## Discussion

Discussion The following shows how you can use the builder syntax: Calls {     CreateEventIntent.expect(title: .equals("The expected title")) }

## See Also

### Creating a call expectation

- [IntentExpectationBuilder](sirievaluations/intentexpectationbuilder.md)
