Contents

resumeRequest(_:)

Resumes an assistance request, in response to a call from the framework.

Declaration

@MainActor func resumeRequest(_ request: LiveAssistanceRequest) async throws -> LiveAssistanceRequest.Response

Discussion

The framework calls this method on your extension after your container app performs any required setup — such as completing a sign in — and calls returnToCall(requestID:).

In your implementation, do the following:

The framework only calls this method if you handled the original call to prepareAssistanceRequest(_:) by returning LiveAssistanceRequest.Response.requiresUserInput(reason:). It doesn’t call this method if you originally returned LiveAssistanceRequest.Response.proceed.