Contents

getTestDiagnosisKeys(completionHandler:)

Requests the temporary exposure keys, including the current key, used by this device for testing.

Declaration

func getTestDiagnosisKeys(completionHandler: @escaping  @Sendable ([ENTemporaryExposureKey]?, (any Error)?) -> Void)
func testDiagnosisKeys() async throws -> [ENTemporaryExposureKey]

Parameters

  • completionHandler:

    The completion handler that the framework calls when the method completes.

Discussion

Every time this method is called, the framework will request the user to authorize the action.

See Also

Obtaining Exposure Keys