View Controllers

This page aggregates information on the Talkdesk SDK ViewControllers. These are the entry points into the SDK from the integrating application.

The following subsections list the ViewControllers per feature.

Callback

The InteractionViewController has the core functionality and should be the one invoked either programmatically or from the Storyboard by providing the intention name.

Other ViewControllers exist and can be subclassed for further customization, but most of the UI elements can be affected using UIAppearanceProxy. Please check the Appearance Customization guide.

  • Displays an interaction with Talkdesk. Abstracts all the workflow and knows how and when it should present content.

    When instantiating this type you should pass the intention name associated to the interaction.

    Usage:

    let vc = InteractionViewController(intention: "customer-support")
    presentViewController(vc, animated: true)
    
    See more

    Declaration

    Swift

    open class InteractionViewController: UIViewController
  • Presents a VisualAction and its fields.

    Declaration

    Swift

    public class VisualViewController: UITableViewController, VisualItemActionDelegate
  • Displays a country list from where the user can search and select a country.

    See more

    Declaration

    Swift

    open class CountryPickerViewController: UITableViewController
  • A ViewController with an associated action type that handles presenting and collecting information from the user.

    See more

    Declaration

    Swift

    open class BaseViewController<T>: UIViewController