PingOneProtectEvaluationCallback
public class PingOneProtectEvaluationCallback : AbstractProtectCallback, @unchecked Sendable
A callback class for evaluating Protect data collection. This class extends AbstractProtectCallback and provides functionality to collect data from the Protect SDK, with an option to pause behavioral data collection.
-
Indicates whether to pause behavioral data collection
Declaration
Swift
private(set) public var pauseBehavioralData: Bool { get } -
Initializes a new instance of
PingOneProtectEvaluationCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
collect()AsynchronousCollects data from the Protect SDK and returns it as a Result
Declaration
Swift
public func collect() async -> Result<String, Error>Return Value
Result containing the collected data or an error if an exception occurs
View on GitHub