Contents

requestEvaluation(context:)

Requests the evaluation of insights.

Declaration

final nonisolated(nonsending) func requestEvaluation<each I>(context: InsightEvaluator.InsightContext<repeat each I>) async throws -> InsightEvaluation<repeat (each I).InsightType> where repeat each I : InsightEvaluator.InsightRequestProtocol

Parameters

  • context:

    An Insightcontext object that describes details evaluation request.

Return Value

The InsightEvaluation that contains the results of the evaluation.

Discussion

Discussion

To use the Trust Insights framework in your app, add the com.apple.developer.trustinsights.base entitlement to your apps capabilities in Xcode. For more information, see Trust Insights.

See Also

Requesting an evaluation