ExposureSubmissionCoordinating

protocol ExposureSubmissionCoordinating : AnyObject

Coordinator for the exposure submission flow. This protocol hides the creation of view controllers and their transitions behind a slim interface.

Attributes.

Navigation.

  • Starts the coordinator and displays the initial root view controller. The underlying implementation may decide which initial screen to show, currently the following options are possible:

    • Case 1: When a valid test result is provided, the coordinator shows the test result screen.
    • Case 2: (DEFAULT) The coordinator shows the intro screen.
    • Case 3: (UI-Testing) The coordinator may be configured to show other screens for UI-Testing. For more information on the usage and configuration of the initial screen, check the concrete implementation of the method.

    Declaration

    Swift

    func start(with result: TestResult?)
  • Undocumented

    Declaration

    Swift

    func dismiss()
  • Undocumented

    Declaration

    Swift

    func showOverviewScreen()
  • Undocumented

    Declaration

    Swift

    func showTestResultScreen(with result: TestResult)
  • Undocumented

    Declaration

    Swift

    func showTanScreen()
  • Undocumented

    Declaration

    Swift

    func showSymptomsScreen()
  • Undocumented

    Declaration

    Swift

    func showWarnOthersScreen()
  • Undocumented

    Declaration

    Swift

    func showThankYouScreen()
  • Undocumented

    Declaration

    Swift

    func loadSupportedCountries(isLoading: @escaping (Bool) -> Void, onSuccess: @escaping () -> Void, onError: @escaping (ExposureSubmissionError) -> Void)