<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.3.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarKey",
  "identifier" : "/documentation/CarKey/RemoteKeylessEntryAction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "CarKey"
    ],
    "preciseIdentifier" : "s:6CarKey24RemoteKeylessEntryActionV"
  },
  "title" : "RemoteKeylessEntryAction"
}
-->

# RemoteKeylessEntryAction

An automatically ending action that you want to perform on
a vehicle.

```
struct RemoteKeylessEntryAction
```

## Overview

Use a [`RemoteKeylessEntryAction`](/documentation/CarKey/RemoteKeylessEntryAction) object to store details about
an action that runs to completion after you start it. For example,
you might use this type of action to unlock the door locks of
the vehicle. The object stores information about the feature
you want to control and the action to take on that feature.
It also stores the identifier for the vehicle itself.

After you create a [`RemoteKeylessEntryAction`](/documentation/CarKey/RemoteKeylessEntryAction) object, call your
session’s [`perform(_:)`](/documentation/CarKey/CarKeyRemoteControlSession/perform(_:)-8ac0c) method
to execute the action. Use the returned
[`RemoteKeylessEntryAction.ExecutionRequest`](/documentation/CarKey/RemoteKeylessEntryAction/ExecutionRequest)
object to determine the success or failure of the request.

## Topics

### Creating the Action Request

[`init(functionID: FunctionIdentifier, actionID: ActionIdentifier, vehicleID: String)`](/documentation/CarKey/RemoteKeylessEntryAction/init(functionID:actionID:vehicleID:))

Creates a new action object with the specified action-specific
details and vehicle ID.

### Receiving the Action’s Response

[`class ExecutionRequest`](/documentation/CarKey/RemoteKeylessEntryAction/ExecutionRequest)

An object that reports the results of an automatically ending
action asynchronously.

### Getting the Action Details

[`let functionID: FunctionIdentifier`](/documentation/CarKey/RemoteKeylessEntryAction/functionID)

The vehicle-specific code that identifies which feature you
want to control.

[`let actionID: ActionIdentifier`](/documentation/CarKey/RemoteKeylessEntryAction/actionID)

The vehicle-specific code that identifies what action
to take on the targeted feature.

[`let recipientVehicleID: String`](/documentation/CarKey/RemoteKeylessEntryAction/recipientVehicleID)

The vehicle to receive the action request.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)