UserConsentPageContent

public struct UserConsentPageContent

The contents of a user consent page in a form. Each page corresponds to a screen displayed the user. A form can consist of one page or multiple pages that get displayed when the form is presented.

  • The title of the user consent screen.

    Declaration

    Swift

    public var title: String
  • The title of the user consent screen. If both title and titleAttributedText are set, then the titleAttributedText takes precedence.

    Declaration

    Swift

    public var titleAttributedText: NSAttributedString?
  • The body of the user consent screen.

    Declaration

    Swift

    public var body: String
  • The body of the user consent screen. If both body and bodyAttributedText are set, then the titleAttributedText takes precedence.

    Declaration

    Swift

    public var bodyAttributedText: NSAttributedString?
  • The actionTitle of the user consent screen.

    Declaration

    Swift

    public var actionTitle: String
  • The actionTitle of the user consent screen. If both actionTitle and actionTitleAttributedText are set, then the titleAttributedText takes precedence.

    Declaration

    Swift

    public var actionTitleAttributedText: NSAttributedString?
  • The url for a web page that is invoked when the actionTitle is clicked. The web page can provide more information about the user consent page. If no such detailed information is necessary, this does not need to be set.

    Declaration

    Swift

    public var actionUrl: String?
  • The action handler invoked when the action title is clicked. This is used to provide the user with more information regarding the user consent page. If no such detailed information is necessary, this handler does not need to be set. When both actionUrl and actionHandler are supplied, the action handler takes precedence.

    Declaration

    Swift

    public var actionHandler: ((FUIUserConsentPageViewController) -> Void)?
  • Default initializer

    Declaration

    Swift

    public init()