authorizationStatus
TypeScriptstatic get authorizationStatus(): ENAuthorizationStatusSwift declarationclass var authorizationStatus: ENAuthorizationStatus { get }class · iOS 12.5+ · Deprecated in iOS 27.0 · SDK 27.1
class ENManagerstatic get authorizationStatus(): ENAuthorizationStatusSwift declarationclass var authorizationStatus: ENAuthorizationStatus { get }activate(completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc activate() async throwsdetectExposuresConfigurationCompletionHandler(configuration: ENExposureConfiguration, completionHandler: ((arg0: (ENExposureDetectionSummary) | null, arg1: (NativeError) | null) => void)): _Foundation_ProgressSwift declarationfunc detectExposures(configuration: ENExposureConfiguration, completionHandler: @escaping ENDetectExposuresHandler) -> ProgressdetectExposuresConfigurationDiagnosisKeyURLsCompletionHandler(configuration: ENExposureConfiguration, diagnosisKeyURLs: Array<string>, completionHandler: ((arg0: (ENExposureDetectionSummary) | null, arg1: (NativeError) | null) => void)): _Foundation_ProgressSwift declarationfunc detectExposures(configuration: ENExposureConfiguration, diagnosisKeyURLs: [URL], completionHandler: @escaping ENDetectExposuresHandler) -> ProgressgetDiagnosisKeys(completionHandler: ((arg0: (Array<ENTemporaryExposureKey>) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc diagnosisKeys() async throws -> [ENTemporaryExposureKey]getExposureInfo(summary: ENExposureDetectionSummary, userExplanation: string, completionHandler: ((arg0: (Array<ENExposureInfo>) | null, arg1: (NativeError) | null) => void)): _Foundation_ProgressSwift declarationfunc getExposureInfo(summary: ENExposureDetectionSummary, userExplanation: String, completionHandler: @escaping ENGetExposureInfoHandler) -> ProgressgetExposureWindows(summary: ENExposureDetectionSummary, completionHandler: ((arg0: (Array<ENExposureWindow>) | null, arg1: (NativeError) | null) => void)): _Foundation_ProgressSwift declarationfunc getExposureWindows(summary: ENExposureDetectionSummary, completionHandler: @escaping ENGetExposureWindowsHandler) -> ProgressgetTestDiagnosisKeys(completionHandler: ((arg0: (Array<ENTemporaryExposureKey>) | null, arg1: (NativeError) | null) => void)): voidSwift declarationfunc testDiagnosisKeys() async throws -> [ENTemporaryExposureKey]getUserTraveled(completionHandler: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc userTraveled() async throws -> Boolstatic init(): ENManagerSwift declarationinit()invalidate(): voidSwift declarationfunc invalidate()preAuthorizeDiagnosisKeys(completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc preAuthorizeDiagnosisKeys() async throwsrequestPreAuthorizedDiagnosisKeys(completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc requestPreAuthorizedDiagnosisKeys() async throwssetExposureNotificationEnabled(enabled: boolean, completionHandler: ((arg0: (NativeError) | null) => void)): voidSwift declarationfunc setExposureNotificationEnabled(_ enabled: Bool) async throwsget diagnosisKeysAvailableHandler(): (((arg0: Array<ENTemporaryExposureKey>) => Promise<void>)) | nullSwift declarationvar diagnosisKeysAvailableHandler: ENDiagnosisKeysAvailableHandler? { get set }set diagnosisKeysAvailableHandler(value: (((arg0: Array<ENTemporaryExposureKey>) => void)) | null)Swift declarationvar diagnosisKeysAvailableHandler: ENDiagnosisKeysAvailableHandler? { get set }get dispatchQueue(): _Dispatch_DispatchQueueSwift declarationvar dispatchQueue: dispatch_queue_t { get set }set dispatchQueue(value: _Dispatch_DispatchQueue)Swift declarationvar dispatchQueue: dispatch_queue_t { get set }get exposureNotificationEnabled(): booleanSwift declarationvar exposureNotificationEnabled: Bool { get }get exposureNotificationStatus(): ENStatusSwift declarationvar exposureNotificationStatus: ENStatus { get }get invalidationHandler(): ((() => Promise<void>)) | nullSwift declarationvar invalidationHandler: (() -> Void)? { get set }set invalidationHandler(value: ((() => void)) | null)Swift declarationvar invalidationHandler: (() -> Void)? { get set }2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
ENManager.activityHandler
The iOS SDK compiler rejected this binding: cannot convert value of type 'ENActivityFlags' to expected argument type 'UInt32'
ENManager.activityHandler
The iOS SDK compiler rejected this binding: cannot assign value of type '((ENActivityFlags) -> Void)?' to type 'ENActivityHandler?' (aka 'Optional<(UInt32) -> ()>')