exposureNotificationEnabled
A property that indicates that a user enabled exposure notification.
Declaration
var exposureNotificationEnabled: Bool { get }Discussion
You can use key value observing to monitor for changes. The value of this property will be NO until activate(completionHandler:) completes successfully.
Note that even if the user enables exposure notifications, they may be inactive for other reasons, such as if the user turns off Bluetooth service. The exposureNotificationStatus property can be monitored for the status of exposure notifications.