Expand description
§Bindings to the ExposureNotification framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- ENActivity
Flags ENManager - Activities that occurred while the app might not be running.
- ENAuthorization
Status ENCommon - Indicates the status of authorization for the app.
- ENCalibration
Confidence ENCommon - Confidence in calibration data.
- ENDiagnosis
Report Type ENCommon - How positive diagnosis was reported.
- ENError
Code ENCommon - Error codes used with ENErrorDomain.
- ENExposure
Configuration ENCommon - Configuration parameters for exposure detection.
- ENExposure
DaySummary ENCommon - Summary of exposure info for a single day.
- ENExposure
Detection Summary ENCommon - Summary of exposure detection.
- ENExposure
Info ENCommon - Info about an exposure.
- ENExposure
Summary Item ENCommon - Summary for a specific time period or report type.
- ENExposure
Window ENCommon - A duration of up to 30 minutes during which beacons from a TEK were observed.
- ENInfectiousness
ENCommon - How infectious based on days since onset of symptoms.
- ENManager
ENManager - Manages Exposure Notification functionality.
- ENScan
Instance ENCommon - Aggregation of attenuations of all of this TEK’s beacons received during a scan.
- ENStatus
ENManager - Overall status of Exposure Notification on the system.
- ENTemporary
Exposure Key ENCommon - Key used to generate rolling proximity identifiers.
- ENVariant
OfConcern Type ENCommon - Apple’s documentation
Constants§
- ENAttenuation
Max ENCommon - Apple’s documentation
- ENAttenuation
Min ENCommon - Apple’s documentation
- ENRisk
Level Max ENCommon - Apple’s documentation
- ENRisk
Level Min ENCommon - Apple’s documentation
- ENRisk
Level Value Max ENCommon - Apple’s documentation
- ENRisk
Level Value Min ENCommon - Apple’s documentation
- ENRisk
Score Max ENCommon - Apple’s documentation
- ENRisk
Score Min ENCommon - Apple’s documentation
- ENRisk
Weight Default ENCommon - Apple’s documentation
- ENRisk
Weight Default V2 ENCommon - Apple’s documentation
- ENRisk
Weight Max ENCommon - Apple’s documentation
- ENRisk
Weight MaxV2 ENCommon - Apple’s documentation
- ENRisk
Weight Min ENCommon - Apple’s documentation
Statics§
- ENDays
Since Onset OfSymptoms Unknown Deprecated ENCommon - The value used when days since onset of symptoms is unspecified.
- ENError
Domain ⚠ENCommon - NSError domain for Exposure Notification errors.
Type Aliases§
- ENActivity
Handler ENManagerandblock2 - Invoked after the app is launched to report activities that occurred while the app might not be running.
- ENAttenuation
ENCommon - Attenuation of a radio signal. This is the Advertised Transmit Power - Measured RSSI.
- ENDetect
Exposures Handler ENCommonandENManagerandblock2 - Invoked when detecting exposures completes. It provides a summary of exposures. If it completes successfully, summary will contain a summary of exposures and error will be nil. If it fails, summary will be nil and error indicates the reason it failed.
- ENDiagnosis
Keys Available Handler ENCommonandENManagerandblock2 - Apple’s documentation
- ENError
Handler ENCommonandblock2 - Invoked when an operation completes. Error is nil for success or non-nil if an error occurred.
- ENError
OutType ENCommon - Type for returning NSError’s from functions. Avoids long and repetitious method signatures.
- ENGet
Diagnosis Keys Handler ENCommonandENManagerandblock2 - Invoked when getDiagnosisKeysWithCompletionHandler completes. If it completes successfully, keys will contain the Diagnosis Keys for this device and error will be nil. If it fails, keys will be nil and error indicates the reason it failed.
- ENGet
Exposure Info Handler ENCommonandENManagerandblock2 - Invoked when getting exposures completes. It provides info about each exposure. If it completes successfully, exposures will contain info about each exposure and error will be nil. If it fails, exposures will be nil and error indicates the reason it failed.
- ENGet
Exposure Windows Handler ENCommonandENManagerandblock2 - Invoked when getExposureWindows completes. It provides info about each exposure window. If it completes successfully, exposureWindows will non-nil and error will be nil. If it fails, exposureWindows will be nil and error indicates the reason it failed.
- ENGet
User Traveled Handler ENManagerandblock2 - Invoked when getUserTraveled completes.
- ENInterval
Number ENCommon - ENIntervalNumber (ENIN)
- ENRisk
Level ENCommon - Represents a risk level, ranging from 0-7.
- ENRisk
Level Value ENCommon - The value, ranging from 0 to 8, that the app assigns to each Risk Level in each of the Risk Level Parameters.
- ENRisk
Score ENCommon - Represents estimated risk calculated by a scoring algorithm. Range is 0-255. 255 is the highest risk.