<!--
{
  "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/CarKeyRemoteControlSession/perform(_:)-8ac0c",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "CarKey"
    ],
    "preciseIdentifier" : "s:6CarKey0aB20RemoteControlSessionC7performyAA0C18KeylessEntryActionV16ExecutionRequestCAFKF"
  },
  "title" : "perform(_:)"
}
-->

# perform(_:)

Sends a request to the vehicle to perform a one-time action.

```
func perform(_ action: RemoteKeylessEntryAction) throws -> RemoteKeylessEntryAction.ExecutionRequest
```

## Parameters

`action`

The one-time action to perform. Use this object to
specify the action you want to perform and the vehicle on which
to perform it.

## Return Value

An object you use to get the results of the request.

## Discussion

Call this method when the vehicle feature involves a one-time action.
For example, use it to lock the doors of the vehicle. This method sends
the request to the vehicle asynchronously.

Use the returned object to get the execution status of the specified
request. The execution status indicates whether the vehicle completed
the action successfully or an error occurred.

---

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)