One Logo Pool Ball
ExposureNotification · IOS API REFERENCE

ENExposureInfo

class · iOS 12.5+ · Deprecated in iOS 27.0 · SDK 27.1

class ENExposureInfo

Members (11)

init

init

TypeScript
static init(): ENExposureInfo
Swift declaration
init()
get · iOS 12.5+ · Deprecated in iOS 27.0

attenuationDurations

TypeScript
get attenuationDurations(): Array<_Foundation_NSNumber>
Swift declaration
var attenuationDurations: [NSNumber] { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

attenuationValue

TypeScript
get attenuationValue(): number
Swift declaration
var attenuationValue: ENAttenuation { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

date

TypeScript
get date(): globalThis.Date
Swift declaration
var date: Date { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

daysSinceOnsetOfSymptoms

TypeScript
get daysSinceOnsetOfSymptoms(): number
Swift declaration
var daysSinceOnsetOfSymptoms: Int { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

diagnosisReportType

TypeScript
get diagnosisReportType(): ENDiagnosisReportType
Swift declaration
var diagnosisReportType: ENDiagnosisReportType { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

duration

TypeScript
get duration(): number
Swift declaration
var duration: TimeInterval { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

metadata

TypeScript
get metadata(): (NativeMap<unknown, unknown>) | null
Swift declaration
var metadata: [AnyHashable : Any]? { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

totalRiskScore

TypeScript
get totalRiskScore(): number
Swift declaration
var totalRiskScore: ENRiskScore { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

totalRiskScoreFullRange

TypeScript
get totalRiskScoreFullRange(): number
Swift declaration
var totalRiskScoreFullRange: Double { get }
get · iOS 12.5+ · Deprecated in iOS 27.0

transmissionRiskLevel

TypeScript
get transmissionRiskLevel(): number
Swift declaration
var transmissionRiskLevel: ENRiskLevel { get }

Skipped declarations

No declarations were skipped in this snapshot.

All ExposureNotification types →