confirmHEREPrivacyNoticeException method

ConfirmationStatus confirmHEREPrivacyNoticeException()
override

On Android devices by calling this method, the application developer confirms that they have received an exceptional permission from HERE in written form to not include a reference to the HERE Privacy Notice. As a result, the LocationEngine will not collect characteristic information about the nearby mobile and Wi-Fi network signals. However, the engine will still be fully functional and will deliver location updates when the exception can be confirmed.

Note: This call should not involve user interaction and should be executed silently by the application before starting the LocationEngine.

The permission for exceptional use will be verified asynchronously using your HERE SDK credentials. A missing permission will cause the LocationEngine to stop, and LocationEngineStatus.PRIVACY_NOTICE_UNCONFIRMED will be delivered to the LocationStatusListener.

Returns:

  • A confirmation action status. Valid values are defined in ConfirmationStatus.
  • A first-time call may result in ConfirmationStatus.PENDING. Ensure that the LocationStatusListener is used to get notified if permission remains unconfirmed.

On iOS devices this method does nothing and ConfirmationStatus.ok is returned.

Implementation

ConfirmationStatus confirmHEREPrivacyNoticeException() =>
    _location.confirmHEREPrivacyNoticeException();