---
title: "init(carName:signals:)"
framework: intents
role: symbol
role_heading: Initializer
path: "intents/inactivatecarsignalintent/init(carname:signals:)"
---

# init(carName:signals:)

Initializes an intent to trigger audio or visual signals from the car.

## Declaration

```swift
init(carName: INSpeakableString?, signals: INCarSignalOptions = [])
```

## Parameters

- `carName`: A name that identifies the user’s car. If nil, the intent is instantiated with a doc://com.apple.sirikit/documentation/Intents/INActivateCarSignalIntent/carName property containing the string myCar.
- `signals`: The set of signals to be activated. For a list of valid signals, see doc://com.apple.sirikit/documentation/Intents/INCarSignalOptions.

## Return Value

Return Value A newly initialized INActivateCarSignalIntent object.

## Discussion

Discussion Normally, you do not create instances of this class yourself. Instead, Siri creates instances when the user asks for an audible or visual signal from the car. However, you can use this method during testing to create intent objects to validate your intent-handling code paths.
