AccountDossierViewController
public final class AccountDossierViewController : UIViewController
extension AccountDossierViewController: AccountDossiersDelegate, CaptureDelegate
extension AccountDossierViewController: DismissDelegate
extension AccountDossierViewController: LoadingDelegate, ErrorDelegate
Dossier view controller. Can be used to easily integrate the SDK.
-
Style customizations that will be applied to the view.
Declaration
Swift
public var style: AccountDossierStyle { get set }
-
Init an
AccountDossierViewController
without close button.Declaration
Swift
override public init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)
-
Init an
AccountDossierViewController
without close button when created from Interface Builder.Declaration
Swift
public required init?(coder: NSCoder)
-
Loads an
AccountDossierView
into the current view controller.Declaration
Swift
override public func loadView()
-
View has finished loading into the current view controller.
Declaration
Swift
override public func viewDidLoad()
-
Called when the view is about to made visible.
Declaration
Swift
override public func viewWillAppear(_ animated: Bool)
Parameters
animated
If
true
, the view is being added to the window using an animation. -
Called when the view is made visible.
Declaration
Swift
override public func viewDidAppear(_ animated: Bool)
Parameters
animated
If
true
, the view is being added to the window using an animation. -
Called when the view is dismissed, covered or otherwise hidden.
Declaration
Swift
override public func viewWillDisappear(_ animated: Bool)
Parameters
animated
If
true
, the disappearance of the view is being animated. -
This method is called when the view controller’s view’s size is changed by its parent (i.e. for the root view controller when its window rotates or is resized).
Declaration
Swift
override public func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator)
-
Declaration
Swift
public func didCreateDossier(_ dossier: AccountDossier)
-
Declaration
Swift
public func didGetDossier(_ dossier: AccountDossier)
-
Declaration
Swift
public func didListDossiers(_ dossiers: [AccountDossier])
-
Declaration
Swift
public func didUpdateDossier(_ dossier: AccountDossier)
-
Declaration
Swift
public func didReplaceDossier(_ dossier: AccountDossier)
-
Declaration
Swift
public func didDeleteDossier()
-
Declaration
Swift
public func didHandleEvent(_ event: String, metadata: [String : String]?)
-
Defines a method to dismiss the view.
Declaration
Swift
public func dismiss()
-
Declaration
Swift
public func viewDidAppear(_ view: UIView)
-
Declaration
Swift
public func viewDidDisappear(_ view: UIView)
-
Declaration
Swift
public func showLoading()
-
Declaration
Swift
public func showError(with message: String)
-
Declaration
Swift
public func hideError()