An object that reports the results of an action with an
optional stopping point.
When you perform an action, the system creates a
``RemoteKeylessEntryConfigurableEnduringAction/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 (3)
get · iOS 18.0+
eventStream
TypeScript
get eventStream(): SDKSequence<RemoteKeylessEntryConfigurableEnduringAction_EnduringExecutionRequest_Event>
Swift declaration
final var eventStream: AsyncStream<RemoteKeylessEntryConfigurableEnduringAction.EnduringExecutionRequest.Event> { get }
The asynchronous event stream on which Continuation Requests are sent
method · 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 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.