---
title: "init(position:visibility:assistantAction:)"
framework: carplay
role: symbol
role_heading: Initializer
path: "carplay/cpassistantcellconfiguration/init(position:visibility:assistantaction:)"
---

# init(position:visibility:assistantAction:)

Creates a configuration object with the specified position, visibility, and action.

## Declaration

```swift
init(position: CPListItem.AssistantCellPosition, visibility: CPListItem.AssistantCellVisibility, assistantAction: CPAssistantCellActionType)
```

## Parameters

- `position`: The position of the assistant cell in the list template. For possible values, see doc://com.apple.carplay/documentation/CarPlay/CPListItem/AssistantCellPosition.
- `visibility`: The visibility of the assistant cell. For possible values, see doc://com.apple.carplay/documentation/CarPlay/CPListItem/AssistantCellVisibility.
- `assistantAction`: The action that Siri performs when the user selects the assistant cell. For possible values, see doc://com.apple.carplay/documentation/CarPlay/CPAssistantCellActionType.

## Discussion

Discussion Your app doesn’t receive a callback when the user selects the assistant cell. Instead, you configure an Intents Extension to handle the type of intent you specify in assistantAction; audio apps must support INPlayMediaIntent and communication apps must support INStartCallIntent. The assistant cell is unavailable in all other app categories.
