---
title: activeStateIdentifier
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpvoicecontroltemplate/activestateidentifier
---

# activeStateIdentifier

The identifier of the template’s current voice control state.

## Declaration

```swift
var activeStateIdentifier: String? { get }
```

## See Also

### Activating a State

- [activateVoiceControlState(withIdentifier:)](carplay/cpvoicecontroltemplate/activatevoicecontrolstate(withidentifier:).md)
