---
title: FunctionIdentifier
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/functionidentifier
---

# FunctionIdentifier

A type that stores the designation code for one of your vehicle’s features.

## Declaration

```swift
struct FunctionIdentifier
```

## Overview

Overview A FunctionIdentifier type wraps a vehicle-specific code you define. This code — known as the function identifier — corresponds to a particular feature of your vehicle. For example, one function identifier might represent the vehicle’s door locks and another represent the vehicle’s window system. Use this type in conjunction with an ActionIdentifier type to specify the complete action you want to perform on a vehicle.

## Topics

### Creating a Function Identifier

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

### Getting the Value

- [rawValue](carkey/functionidentifier/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)
- [ActionIdentifier](carkey/actionidentifier.md)
