One Logo Pool Ball
CarKey · IOS API REFERENCE

RemoteKeylessEntryEnduringAction.EnduringExecutionRequest

class · iOS 16.0+ · Deprecated in iOS 18.0 · SDK 27.1

final class EnduringExecutionRequest

An object that reports the results of an action with an optional stopping point. When you perform an action, the system creates a ``RemoteKeylessEntryEnduringAction/EnduringExecutionRequest`` object for your request and returns it to your app. Use the object to send a follow-up request to stop the action. You can also use it to determine the status of the original action.

Members (2)

method · iOS 16.0+ · Deprecated in iOS 18.0

stop

TypeScript
stop(): void
Swift declaration
final func stop() throws

Sends a request to stop a previously started action. This method sends the cancellation request asynchronously to the vehicle. If you call the results method again, the method delivers the results of the cancellation request.

method · iOS 16.0+ · Deprecated in iOS 18.0

results

TypeScript
results(): Promise<ExecutionStatus>
Swift declaration
final func results() async throws -> ExecutionStatus

Returns the results of a preceding action request. After you call your session’s ``CarKeyRemoteControlSession/perform(_:)-7mpsy`` method to send an action request to a vehicle, call this method to await the results of that request. Upon the successful completion of the request, this method returns the vehicle-provided status code. If an error occurs, this method throws the error instead. - Returns: A structure that contains the vehicle-specific status code from the vehicle.

Skipped declarations

No declarations were skipped in this snapshot.

All CarKey types →