ExposureSubmissionCoordinator
class ExposureSubmissionCoordinator : NSObject, ExposureSubmissionCoordinating, RequiresAppDependencies
extension ExposureSubmissionCoordinator: UIAdaptivePresentationControllerDelegate
Concrete implementation of the ExposureSubmissionCoordinator protocol.
-
Declaration
Swift
weak var delegate: ExposureSubmissionCoordinatorDelegate
-
Undocumented
Declaration
Swift
weak var parentNavigationController: UINavigationController
-
Note
We keep a weak reference here to avoid a reference cycle. (the navigationController holds a strong reference to the coordinator).Declaration
Swift
weak var navigationController: UINavigationController
-
Undocumented
Declaration
Swift
weak var presentedViewController: UIViewController
-
Undocumented
Declaration
Swift
var model: ExposureSubmissionCoordinatorModel!
-
Undocumented
Declaration
Swift
init( parentNavigationController: UINavigationController, exposureSubmissionService: ExposureSubmissionService, delegate: ExposureSubmissionCoordinatorDelegate? = nil )
-
Declaration
Swift
func start(with result: TestResult? = nil)
-
Undocumented
Declaration
Swift
func dismiss()
-
Undocumented
Declaration
Swift
func showOverviewScreen()
-
Undocumented
Declaration
Swift
func showTestResultScreen(with result: TestResult)
-
Undocumented
Declaration
Swift
func showHotlineScreen()
-
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)
-
Undocumented
Declaration
Swift
func presentationControllerDidAttemptToDismiss(_ presentationController: UIPresentationController)