An object that reports the results of an automatically ending
action asynchronously.
When you perform an action, the system creates a
``RemoteKeylessEntryAction/ExecutionRequest`` object for that
request and returns it to your app. Use that object to asynchronously
determine whether your request completed successfully or reported
an error.
Members (1)
method · iOS 16.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(_:)-8ac0c``
method to send an action request to a vehicle, call this method
and 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.