TechnologiesHealth & Fitness

ExposureNotification

iOSmacOStvOSwatchOSvisionOS

ExposureNotification implements privacy-preserving exposure notification for COVID-style contact tracing through Bluetooth key exchange on iOS. You coordinate the system through ENManager, checking ENAuthorizationStatus and ENStatus, exchanging ENTemporaryExposureKey values, and applying an ENExposureConfiguration to detect potential exposures. The framework reports results as ENExposureDetectionSummary, ENExposureDaySummary, ENExposureInfo, and ENExposureWindow objects, with ENScanInstance data and enumerations such as ENCalibrationConfidence, ENInfectiousness, ENDiagnosisReportType, and ENVariantOfConcernType describing the conditions and risk of each encounter.

Essentials 1

The central object you use to manage exposure notification and detect potential exposures.

  • Cl
    ENManager
    @brief Manages Exposure Notification functionality.

Configuration 1

Tune the scoring and risk parameters the system applies when detecting exposures.

  • Cl
    ENExposureConfiguration
    @brief Configuration parameters for exposure detection.

Diagnosis Keys 1

Exchange the rotating Bluetooth keys that represent a device over time.

  • Cl
    ENTemporaryExposureKey
    @brief Key used to generate rolling proximity identifiers.

Exposure Detection Results 6

Inspect the summaries and detailed records the framework produces from a detection.

  • Cl
    ENExposureDetectionSummary
    @brief Summary of exposure detection.
  • Cl
    ENExposureDaySummary
    @brief Summary of exposure info for a single day.
  • Cl
    ENExposureSummaryItem
    @brief Summary for a specific time period or report type.
  • Cl
    ENExposureInfo
    @brief Info about an exposure.
  • Cl
    ENExposureWindow
    @brief A duration of up to 30 minutes during which beacons from a TEK were observed.
  • Cl
    ENScanInstance
    @brief Aggregation of attenuations of all of this TEK's beacons received during a scan.

Authorization and Status 3

Determine the user's authorization and the current operating state of exposure notification.

  • En
    ENAuthorizationStatus
    @brief Indicates the status of authorization for the app.
  • En
    ENStatus
    @brief Overall status of Exposure Notification on the system.
  • St
    ENActivityFlags
    @brief Activities that occurred while the app might not be running.

Encounter and Risk Classification 4

Constants describing the measured conditions and epidemiological risk of each encounter.

  • En
    ENCalibrationConfidence
    @brief Confidence in calibration data.
  • En
    ENInfectiousness
    @brief How infectious based on days since onset of symptoms.
  • En
    ENDiagnosisReportType
    @brief How positive diagnosis was reported.
  • En
    ENVariantOfConcernType
    Constants that identify the variant of concern associated with a diagnosis.

Errors 1

Error values reported when exposure notification operations fail.

  • St
    ENError
    An error type that describes failures occurring during exposure notification operations.

Type Aliases 14

  • Ty
    ENErrorOutType
    Type for returning NSError's from functions. Avoids long and repetitious method signatures.
  • Ty
    ENAttenuation
    @brief Attenuation of a radio signal. This is the Advertised Transmit Power - Measured RSSI.
  • Ty
    ENIntervalNumber
    @brief ENIntervalNumber (ENIN)
  • Ty
    ENRiskLevel
    @brief Represents a risk level, ranging from 0-7.
  • Ty
    ENRiskLevelValue
    @brief The value, ranging from 0 to 8, that the app assigns to each Risk Level in each of the Risk Level Parameters.
  • Ty
    ENRiskScore
    @brief Represents estimated risk calculated by a scoring algorithm. Range is 0-255. 255 is the highest risk.
  • Ty
    ENErrorHandler
    Invoked when an operation completes. Error is nil for success or non-nil if an error occurred.
  • Ty
    ENActivityHandler
    Invoked after the app is launched to report activities that occurred while the app might not be running.
  • Ty
    ENGetDiagnosisKeysHandler
    Invoked when getDiagnosisKeysWithCompletionHandler completes.
  • Ty
    ENDetectExposuresHandler
    Invoked when detecting exposures completes. It provides a summary of exposures.
  • Ty
    ENDiagnosisKeysAvailableHandler
  • Ty
    ENGetExposureInfoHandler
    Invoked when getting exposures completes. It provides info about each exposure.
  • Ty
    ENGetExposureWindowsHandler
    Invoked when getExposureWindows completes. It provides info about each exposure window.
  • Ty
    ENGetUserTraveledHandler
    Invoked when getUserTraveled completes.
← Health & Fitness