Inquiry

public final class Inquiry

The Persona Inquiry SDK.

  • The SDK version number.

    Declaration

    Swift

    public static var versionNumber: String { get }
  • Creates a new Inquiry based on an inquiry ID with an account ID.

    Declaration

    Swift

    public init(config: InquiryConfiguration, delegate: InquiryDelegate)

    Parameters

    config

    The inquiry configuration.

    delegate

    The object that will receive the final callbacks.

  • Creates a new Inquiry based on an inquiry ID with an account ID.

    Declaration

    Swift

    public init(config: FallbackInquiryConfiguration, delegate: InquiryDelegate)

    Parameters

    config

    The fallback inquiry configuration.

    delegate

    The object that will receive the final callbacks.

  • Starts the verification flow modally over a view controller.

    Declaration

    Swift

    public func start(from viewController: UIViewController, animated: Bool = true)

    Parameters

    viewController

    The view controller the view should be presented from.

    animated

    Whether or not the flow should animate it’s presentation (and dismissal)