DeviceProfileCallback
@objc
public class DeviceProfileCallback : HiddenValueCallback, ActionCallback
DeviceProfileCallback is a callback class that collects Device Information using DeviceCollector(s) in FRAuth SDK.
-
Boolean indicator whether device metadata is required or not
Declaration
Swift
@objc public var metadataRequired: Bool
-
Boolean indicator whether device location is required or not
Declaration
Swift
@objc public var locationRequired: Bool
-
Message of device profile collector callback
Declaration
Swift
@objc public var message: String
-
Declaration
Swift
public var locationCollector: DeviceCollector?
-
Declaration
Swift
public var profileCollector: ProfileCollector
-
Declaration
Swift
public var collector: FRDeviceCollector
-
Executes list of DeviceCollector to collect device information based on DeviceProfileCallback’s attributes
Declaration
Swift
public func execute(_ completion: @escaping JSONCompletionCallback)
Parameters
completion
Completion block that returns JSON of collected information