TechnologiesDevice, Sensors & Hardware

CarKey

iOSmacOStvOSwatchOSvisionOS

CarKey lets your app act as a digital car key, defining vehicle feature action identifiers to lock, unlock, and control supported vehicles. You initiate operations through a CarKeyRemoteControl and manage them within a CarKeyRemoteControlSession, observing updates through its CarKeyRemoteControlSessionDelegate. Actions are expressed with types such as RemoteKeylessEntryAction, RemoteKeylessEntryEnduringAction, and RemoteKeylessEntryConfigurableEnduringAction, addressed by ActionIdentifier and FunctionIdentifier values. Your app inspects results and current state using ExecutionStatus, FunctionStatus, and VehicleReport, and handles failures through CarKeyErrorCode.

Remote Control 3

Initiate and manage remote operations on a supported vehicle.

  • Cl
    CarKeyRemoteControliOS 16.0+
    The object you use to start a new vehicle-related session.
  • Cl
    CarKeyRemoteControlSessioniOS 16.0+
    The object that manages communication with the vehicles
  • Pr
    CarKeyRemoteControlSessionDelegateiOS 16.0+
    An interface you use to receive session- and vehicle-related

Keyless Entry Actions 3

Express the lock, unlock, and control operations sent to a vehicle.

  • St
    RemoteKeylessEntryActioniOS 16.0+
    An automatically ending action that you want to perform on
  • St
    RemoteKeylessEntryEnduringAction
    An action with an optional stopping point that you want to perform
  • St
    RemoteKeylessEntryConfigurableEnduringActioniOS 18.0+
    An action with an optional stopping point that you want to perform

Identifiers 2

Address vehicle features and the actions performed on them.

  • St
    ActionIdentifieriOS 16.0+
    A type that stores the designation code for one of
  • St
    FunctionIdentifieriOS 16.0+
    A type that stores the designation code for one of your

Status and Reporting 3

Inspect the outcome of operations and the current state of the vehicle.

  • St
    ExecutionStatusiOS 16.0+
    A type that contains the status code a vehicle returns
  • St
    FunctionStatusiOS 16.0+
    A value that the vehicle can return to indicate the status of
  • St
    VehicleReportiOS 16.0+
    A type that contains information about a vehicle configured for

Errors 1

Identify and handle failures encountered during remote control operations.

  • En
    CarKeyErrorCodeiOS 16.0+
    The errors that can occur when you perform remote-keyless entry operations on a vehicle.
← Device, Sensors & Hardware