reportConsumption(_:insightsUsed:)
Reports the consumption status, and optionally provide one or more associated insights.
Declaration
final func reportConsumption(_ status: InsightEvaluationConsumptionStatus, insightsUsed: [any TrustInsight] = [])Parameters
- status:
A label that indicates how the app consumed the provided insights.
- insightsUsed:
An array of specificTrustinsight objects, that your app used in making a decision. These values are optional.
Discussion
Before releasing an InsightEvaluation, call this to report how your app used the results. The system may present this value in transparency reporting and also helps with model improvement.