authorizationStatus(for:)
Returns an authorization status that indicates whether a person permitted the app to request evaluations for the given context.
Declaration
final nonisolated(nonsending) func authorizationStatus<each I>(for context: InsightEvaluator.InsightContext<repeat each I>) async throws -> InsightEvaluator.AuthorizationStatus where repeat each I : InsightEvaluator.InsightRequestProtocolParameters
- context:
The Insightcontext to request evaluations for.
Return Value
An InsightEvaluator.AuthorizationStatus that indicates whether someone authorized the app to request evaluations.