InquiryDelegate
public protocol InquiryDelegate : AnyObject
Methods for managing verification results. Please note: all methods will be called from the main thread.
-
Called on a successful inquiry.
Declaration
Swift
func inquirySuccess(inquiryId: String, attributes: Attributes, relationships: Relationships)Parameters
inquiryIda unique Persona-generated identifier for the inquiry
attributesconsolidated information collected in the inquiry about the individual
relationshipsindividual components that are collected through the Inquiry
-
Called when the invidual fails the inquiry.
Declaration
Swift
func inquiryFailed(inquiryId: String, attributes: Attributes, relationships: Relationships)Parameters
inquiryIda unique Persona-generated identifier for the inquiry
attributesconsolidated information collected in the inquiry about the individual
relationshipsindividual components that are collected through the Inquiry
-
Called when the individual cancels the inquiry.
Declaration
Swift
func inquiryCancelled() -
Called when there is a problem during the Inquiry flow.
Declaration
Swift
func inquiryError(_ error: Error)Parameters
errorthe reason why the Inquiry did not complete correctly
View on GitHub
InquiryDelegate Protocol Reference