VerIDFactoryDelegate

@objc
public protocol VerIDFactoryDelegate : AnyObject

Ver-ID factory delegate protocol

  • Called when a Ver-ID instance is created

    Declaration

    Swift

    @objc
    optional func veridFactory(_ factory: VerIDFactory, didCreateVerID instance: VerID)

    Parameters

    factory

    Factory that created the Ver-ID instance

    instance

    Ver-ID environment instance

  • Called when a Ver-ID instance creation fails

    Declaration

    Swift

    @objc
    func veridFactory(_ factory: VerIDFactory, didFailWithError error: Error)

    Parameters

    factory

    Factory that attempted to create the Ver-ID instance

    error

    Error that describes the failure