Contents

evaluatedPolicyDomainState

The current state of the evaluated policy domain.

Declaration

var evaluatedPolicyDomainState: Data? { get }

Discussion

The value of this property is non-nil when the canEvaluatePolicy(_:error:) method succeeds for a biometric policy or the person successfully authenticates using biometrics, following a call to evaluatePolicy(_:localizedReason:reply:). Otherwise, its value is nil.

Compare the values you get from successive calls to this property to determine whether the authorized database changed. However, the value you get doesn’t describe the nature of a change; it only lets you detect if a change happens.

See Also

Evaluating authentication policies