MockExposureSubmissionService
class MockExposureSubmissionService : ExposureSubmissionService
Undocumented
-
Undocumented
Declaration
Swift
var submitExposureCallback: ((@escaping ExposureSubmissionHandler) -> Void)?
-
Undocumented
Declaration
Swift
var getRegistrationTokenCallback: ((DeviceRegistrationKey, @escaping RegistrationHandler) -> Void)?
-
Undocumented
Declaration
Swift
var getTANForExposureSubmitCallback: ((Bool, @escaping TANHandler) -> Void)?
-
Undocumented
Declaration
Swift
var getTestResultCallback: ((@escaping TestResultHandler) -> Void)?
-
Undocumented
Declaration
Swift
var hasRegistrationTokenCallback: (() -> Bool)?
-
Undocumented
Declaration
Swift
var deleteTestCallback: (() -> Void)?
-
Undocumented
Declaration
Swift
var preconditionsCallback: (() -> ExposureManagerState)?
-
Undocumented
Declaration
Swift
var acceptPairingCallback: (() -> Void)?
-
Undocumented
Declaration
Swift
func submitExposure(symptomsOnset: SymptomsOnset, visitedCountries: [Country], completionHandler: @escaping ExposureSubmissionHandler)
-
Undocumented
Declaration
Swift
func getRegistrationToken(forKey deviceRegistrationKey: DeviceRegistrationKey, completion completeWith: @escaping RegistrationHandler)
-
Undocumented
Declaration
Swift
func getTANForExposureSubmit(hasConsent: Bool, completion completeWith: @escaping TANHandler)
-
Undocumented
Declaration
Swift
func getTestResult(_ completeWith: @escaping TestResultHandler)
-
Declaration
Swift
func getTestResult(forKey deviceRegistrationKey: DeviceRegistrationKey, useStoredRegistration: Bool, completion: @escaping TestResultHandler)
-
Undocumented
Declaration
Swift
func hasRegistrationToken() -> Bool
-
Undocumented
Declaration
Swift
func deleteTest()
-
Undocumented
Declaration
Swift
func fakeRequest(completionHandler: ExposureSubmissionHandler?)
-
Undocumented
Declaration
Swift
var devicePairingConsentAcceptTimestamp: Int64?
-
Undocumented
Declaration
Swift
var devicePairingSuccessfulTimestamp: Int64?
-
Undocumented
Declaration
Swift
func preconditions() -> ExposureManagerState
-
Undocumented
Declaration
Swift
func acceptPairing()