public protocol InquiryDelegate : AnyObject
Methods for managing verification results. Please note: all methods will be called from the main thread.
Called on a completed inquiry.
func inquiryComplete(inquiryId: String, status: String, fields: [String : InquiryField])
unique Persona-generated identifier for the inquiry. If a user cancels before an inquiry has been created this will be nil.
result from the Inquiry flow
fields data extracted from the Inquiry flow
Called when the individual cancels the inquiry.
func inquiryCanceled(inquiryId: String?, sessionToken: String?)
a unique, Persona-generated identifier for the inquiry. If a user cancels before an inquiry has been created this will be nil.
the session token used for this inquiry
Called when there is a problem during the Inquiry flow.
func inquiryError(_ error: Error)
the reason why the Inquiry did not complete correctly