Package apple.exposurenotification
Class ENManager
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.exposurenotification.ENManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedENManager(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()voidactivateWithCompletionHandler(@NotNull ENManager.Block_activateWithCompletionHandler completionHandler)Activates the object to prepare it for use.@Nullable ENManager.Block_activityHandler_retactivityHandler()Invoked when the app is launched for an activity while it might not be running.static ENManageralloc()static ENManagerallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static longauthorizationStatus()Reports the current authorization status of the app.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@NotNull NSProgressdetectExposuresWithConfigurationCompletionHandler(@NotNull ENExposureConfiguration configuration, @NotNull ENManager.Block_detectExposuresWithConfigurationCompletionHandler completionHandler)Detects exposures using the specified configuration to control the scoring algorithm.@NotNull NSProgressdetectExposuresWithConfigurationDiagnosisKeyURLsCompletionHandler(@NotNull ENExposureConfiguration configuration, @NotNull NSArray<? extends NSURL> diagnosisKeyURLs, @NotNull ENManager.Block_detectExposuresWithConfigurationDiagnosisKeyURLsCompletionHandler completionHandler)Detects exposures using the specified configuration to control the scoring algorithm and URLs to specify the files containing diagnosis keys the app has downloaded.@Nullable ENManager.Block_diagnosisKeysAvailableHandler_retdiagnosisKeysAvailableHandler()Invoked after requestPreAuthorizedDiagnosisKeys if user authorization is still valid.booleanexposureNotificationEnabled()Indicates if Exposure Notification is enabled on the system.longexposureNotificationStatus()Overall status of Exposure Notification.voidgetDiagnosisKeysWithCompletionHandler(@NotNull ENManager.Block_getDiagnosisKeysWithCompletionHandler completionHandler)Requests the temporary exposure keys used by this device to share with a server.@NotNull NSProgressgetExposureInfoFromSummaryUserExplanationCompletionHandler(@NotNull ENExposureDetectionSummary summary, @NotNull java.lang.String userExplanation, @NotNull ENManager.Block_getExposureInfoFromSummaryUserExplanationCompletionHandler completionHandler)Deprecated.@NotNull NSProgressgetExposureWindowsFromSummaryCompletionHandler(@NotNull ENExposureDetectionSummary summary, @NotNull ENManager.Block_getExposureWindowsFromSummaryCompletionHandler completionHandler)Gets info about each exposure window from the summary provided when exposure detection completes.voidgetTestDiagnosisKeysWithCompletionHandler(@NotNull ENManager.Block_getTestDiagnosisKeysWithCompletionHandler completionHandler)Requests the temporary exposure keys, including the current key, used by this device for testing.voidgetUserTraveledWithCompletionHandler(@NotNull ENManager.Block_getUserTraveledWithCompletionHandler completionHandler)Reports if the user traveled within an exposure period (e.g.static longhash_static()ENManagerinit()static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)voidinvalidate()Stops any outstanding operations and invalidates this object.@Nullable ENManager.Block_invalidationHandler_retinvalidationHandler()Invoked exactly once when invalidation completes.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static ENManagernew_objc()voidpreAuthorizeDiagnosisKeysWithCompletionHandler(@NotNull ENManager.Block_preAuthorizeDiagnosisKeysWithCompletionHandler completionHandler)Authorizes a one-time, future release of diagnosis keys without a user prompt at the time of release.voidrequestPreAuthorizedDiagnosisKeysWithCompletionHandler(@NotNull ENManager.Block_requestPreAuthorizedDiagnosisKeysWithCompletionHandler completionHandler)Requests diagnosis keys after previously using preAuthorizeDiagnosisKeys successfully.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetActivityHandler(@Nullable ENManager.Block_setActivityHandler value)Invoked when the app is launched for an activity while it might not be running.voidsetDiagnosisKeysAvailableHandler(@Nullable ENManager.Block_setDiagnosisKeysAvailableHandler value)Invoked after requestPreAuthorizedDiagnosisKeys if user authorization is still valid.voidsetExposureNotificationEnabledCompletionHandler(boolean enabled, @NotNull ENManager.Block_setExposureNotificationEnabledCompletionHandler completionHandler)Enables or disables Exposure Notification.voidsetInvalidationHandler(@Nullable ENManager.Block_setInvalidationHandler value)Invoked exactly once when invalidation completes.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
activateWithCompletionHandler
public void activateWithCompletionHandler(@NotNull @NotNull ENManager.Block_activateWithCompletionHandler completionHandler)Activates the object to prepare it for use. Properties may not be usable until the completion handler reports success.
-
activityHandler
@Nullable public @Nullable ENManager.Block_activityHandler_ret activityHandler()
Invoked when the app is launched for an activity while it might not be running. When the app is launched, it should create an ENManager instance, set this handler, and then activate the manager. API-Since: 12.5
-
alloc
public static ENManager alloc()
-
allocWithZone
public static ENManager allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
authorizationStatus
public static long authorizationStatus()
Reports the current authorization status of the app. Apps can use this property to preflight authorization in order to determine if the user will be prompted.
-
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()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
detectExposuresWithConfigurationCompletionHandler
@NotNull public @NotNull NSProgress detectExposuresWithConfigurationCompletionHandler(@NotNull @NotNull ENExposureConfiguration configuration, @NotNull @NotNull ENManager.Block_detectExposuresWithConfigurationCompletionHandler completionHandler)
Detects exposures using the specified configuration to control the scoring algorithm. This uses the diagnosis keys already known to the system. Only available to apps with ENAPIVersion 2 or higher. API-Since: 12.5
-
detectExposuresWithConfigurationDiagnosisKeyURLsCompletionHandler
@NotNull public @NotNull NSProgress detectExposuresWithConfigurationDiagnosisKeyURLsCompletionHandler(@NotNull @NotNull ENExposureConfiguration configuration, @NotNull @NotNull NSArray<? extends NSURL> diagnosisKeyURLs, @NotNull @NotNull ENManager.Block_detectExposuresWithConfigurationDiagnosisKeyURLsCompletionHandler completionHandler)
Detects exposures using the specified configuration to control the scoring algorithm and URLs to specify the files containing diagnosis keys the app has downloaded. The diagnosis key files must be signed appropriately. When the app's ENAPIVersion is 2 or higher, keys already known to the system are included in the analysis.
-
diagnosisKeysAvailableHandler
@Nullable public @Nullable ENManager.Block_diagnosisKeysAvailableHandler_ret diagnosisKeysAvailableHandler()
Invoked after requestPreAuthorizedDiagnosisKeys if user authorization is still valid. API-Since: 14.4
-
exposureNotificationEnabled
public boolean exposureNotificationEnabled()
Indicates if Exposure Notification is enabled on the system. KVO may be used to monitor for changes. This will be NO until activateWithCompletionHandler has completed successfully. Note that even if it's enabled, it may be inactive for other reasons, such as Bluetooth being turned off. The exposureNotificationStatus property can be monitored for the overall status of Exposure Notification.
-
exposureNotificationStatus
public long exposureNotificationStatus()
Overall status of Exposure Notification. KVO may be used to monitor for changes.
-
getDiagnosisKeysWithCompletionHandler
public void getDiagnosisKeysWithCompletionHandler(@NotNull @NotNull ENManager.Block_getDiagnosisKeysWithCompletionHandler completionHandler)Requests the temporary exposure keys used by this device to share with a server. Each use of this API will present the user with system UI to authorize it.
-
getExposureInfoFromSummaryUserExplanationCompletionHandler
@NotNull @Deprecated public @NotNull NSProgress getExposureInfoFromSummaryUserExplanationCompletionHandler(@NotNull @NotNull ENExposureDetectionSummary summary, @NotNull @NotNull java.lang.String userExplanation, @NotNull @NotNull ENManager.Block_getExposureInfoFromSummaryUserExplanationCompletionHandler completionHandler)
Deprecated.Gets info about each exposure from the summary provided when exposure detection completes. Using this API will inform the user that their exposure details have been revealed to the app. The user explanation string will be displayed as part of the UI to inform the user of using this API. API-Since: 13.5 Deprecated-Since: 13.6 Deprecated-Message: Use getExposureWindowsFromSummary, if needed.
-
getExposureWindowsFromSummaryCompletionHandler
@NotNull public @NotNull NSProgress getExposureWindowsFromSummaryCompletionHandler(@NotNull @NotNull ENExposureDetectionSummary summary, @NotNull @NotNull ENManager.Block_getExposureWindowsFromSummaryCompletionHandler completionHandler)
Gets info about each exposure window from the summary provided when exposure detection completes. API-Since: 12.5
-
getTestDiagnosisKeysWithCompletionHandler
public void getTestDiagnosisKeysWithCompletionHandler(@NotNull @NotNull ENManager.Block_getTestDiagnosisKeysWithCompletionHandler completionHandler)Requests the temporary exposure keys, including the current key, used by this device for testing. Each use of this API will present the user with system UI to authorize it. WARNING: This API is only for use by developers. It requires a special entitlement that is not allowed in the app store. It's only intended to allow developers to test without needing to wait 24 hours for a key to be released.
-
getUserTraveledWithCompletionHandler
public void getUserTraveledWithCompletionHandler(@NotNull @NotNull ENManager.Block_getUserTraveledWithCompletionHandler completionHandler)Reports if the user traveled within an exposure period (e.g. 14 days). API-Since: 12.5
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
invalidate
public void invalidate()
Stops any outstanding operations and invalidates this object. Once this is called, the object can no longer be used. To start using ENManager again, a new instance of the class must be created and activated.
-
invalidationHandler
@Nullable public @Nullable ENManager.Block_invalidationHandler_ret invalidationHandler()
Invoked exactly once when invalidation completes. This property is cleared before it's invoked to break retain cycles.
-
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)
-
new_objc
public static ENManager new_objc()
-
preAuthorizeDiagnosisKeysWithCompletionHandler
public void preAuthorizeDiagnosisKeysWithCompletionHandler(@NotNull @NotNull ENManager.Block_preAuthorizeDiagnosisKeysWithCompletionHandler completionHandler)Authorizes a one-time, future release of diagnosis keys without a user prompt at the time of release. This allows the user to authorize ahead of time in case they are unable to approve at the time of positive diagnosis. WARNING: Application should be in foreground to request the authorization API-Since: 14.4
-
requestPreAuthorizedDiagnosisKeysWithCompletionHandler
public void requestPreAuthorizedDiagnosisKeysWithCompletionHandler(@NotNull @NotNull ENManager.Block_requestPreAuthorizedDiagnosisKeysWithCompletionHandler completionHandler)Requests diagnosis keys after previously using preAuthorizeDiagnosisKeys successfully. This will display a notification to the user for the user to know the keys will be returned. Keys are returned by invoking diagnosisKeysAvailable, which must be set before calling this. API-Since: 14.4
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setActivityHandler
public void setActivityHandler(@Nullable @Nullable ENManager.Block_setActivityHandler value)Invoked when the app is launched for an activity while it might not be running. When the app is launched, it should create an ENManager instance, set this handler, and then activate the manager. API-Since: 12.5
-
setDiagnosisKeysAvailableHandler
public void setDiagnosisKeysAvailableHandler(@Nullable @Nullable ENManager.Block_setDiagnosisKeysAvailableHandler value)Invoked after requestPreAuthorizedDiagnosisKeys if user authorization is still valid. API-Since: 14.4
-
setExposureNotificationEnabledCompletionHandler
public void setExposureNotificationEnabledCompletionHandler(boolean enabled, @NotNull @NotNull ENManager.Block_setExposureNotificationEnabledCompletionHandler completionHandler)Enables or disables Exposure Notification. If not previously authorized, this shows a user dialog for consent to enable Exposure Notification. Note: Disabling stops Bluetooth advertising and scanning related to Exposure Notification, but the Diagnosis Keys and data will remain.
-
setInvalidationHandler
public void setInvalidationHandler(@Nullable @Nullable ENManager.Block_setInvalidationHandler value)Invoked exactly once when invalidation completes. This property is cleared before it's invoked to break retain cycles.
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-