Class ENExposureInfo

  • All Implemented Interfaces:
    NSObject

    public class ENExposureInfo
    extends NSObject
    =========================================================================================================================== Info about an exposure. API-Since: 12.5
    • Constructor Detail

      • ENExposureInfo

        protected ENExposureInfo​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static ENExposureInfo allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attenuationDurations

        @NotNull
        public @NotNull NSArray<? extends NSNumber> attenuationDurations()
        Array of durations in seconds at certain radio signal attenuations. Array index 0: Sum of durations for this exposure when attenuation <= X Array index 1: Sum of durations for this exposure when attenuation <= Y Array index 2: Sum of durations for this exposure when attenuation <= Z Array index 3: Sum of durations for this exposure when attenuation > Z X, Y, Z come from the attenuationDurationThresholds on the configuration object.
      • attenuationValue

        public byte attenuationValue()
        Duration-weighted average of the attenuations associated with this exposure.
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • date

        @NotNull
        public @NotNull NSDate date()
        Date when the exposure occurred. This may have reduced precision, such as within 1 day of the actual time.
      • daysSinceOnsetOfSymptoms

        public long daysSinceOnsetOfSymptoms()
        Number of days since the onset of symptoms. Defaults to ENDaysSinceOnsetOfSymptomsUnknown. API-Since: 12.5
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • diagnosisReportType

        public int diagnosisReportType()
        How positive diagnosis was reported. API-Since: 12.5
      • duration

        public double duration()
        Length of exposure in 5 minute increments with a 30 minute maximum.
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • metadata

        @Nullable
        public @Nullable NSDictionary<?,​?> metadata()
        Metadata associated with the exposure.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • totalRiskScore

        public byte totalRiskScore()
        Indicates the total risk calculated for this exposure incident. Capped to ENRiskScore range.
      • totalRiskScoreFullRange

        public double totalRiskScoreFullRange()
        Indicates the total risk calculated for this exposure incident. Full range and not capped to ENRiskScore.
      • transmissionRiskLevel

        public byte transmissionRiskLevel()
        Indicates the transmission risk associated with the diagnosis key.
      • version_static

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.