---
title: "success(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/incarsignaloptionsresolutionresult/success(with:)"
---

# success(with:)

Creates a resolution object that indicates the successful resolution of the provided value.

## Declaration

```swift
class func success(with resolvedCarSignalOptions: INCarSignalOptions = []) -> Self
```

## Parameters

- `resolvedCarSignalOptions`: The value that resolves the doc://com.apple.sirikit/documentation/Intents/INActivateCarSignalIntent/signals property of the activate car signal intent. This value may be different from the one specified in the intent object.

## Return Value

Return Value A new INCarSignalOptionsResolutionResult object.

## Discussion

Discussion Use this method to create a result object when you are able to resolve a parameter successfully.

## See Also

### Creating a Resolution Result Object

- [confirmationRequired(with:)](intents/incarsignaloptionsresolutionresult/confirmationrequired(with:).md)
