---
title: ActionIdentifier
framework: CarKey
role: symbol
role_heading: Structure
platforms: [iOS 16.0+, iPadOS 16.0+, Mac Catalyst 16.0+, macOS 13.3+, watchOS 9.0+]
path: carkey/actionidentifier
---

# ActionIdentifier

A type that stores the designation code for one of the actions that a vehicle feature supports.

## Declaration

```swift
struct ActionIdentifier
```

## Overview

Overview An ActionIdentifier type wraps a vehicle-specific code you define. This code — known as the action identifier — corresponds to an action your vehicle can take for a particular feature. For example, you might define actions to lock or unlock the vehicle’s doors. Use this type in conjunction with a specific FunctionIdentifier type to specify the complete action you want to perform on a vehicle.

## Topics

### Creating the Action Identifier

- [init(rawValue:)](carkey/actionidentifier/init(rawvalue:).md)
- [init(_:)](carkey/actionidentifier/init(_:).md)

### Getting the Value

- [rawValue](carkey/actionidentifier/rawvalue.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)

## See Also

### Vehicle Actions

- [RemoteKeylessEntryAction](carkey/remotekeylessentryaction.md)
- [RemoteKeylessEntryEnduringAction](carkey/remotekeylessentryenduringaction.md)
- [FunctionIdentifier](carkey/functionidentifier.md)
