requestConsentInfoUpdate

actual fun requestConsentInfoUpdate(onError: (Exception) -> Unit)

Gets the user's consent information

You should request an update of the user's consent information at every app launch, using requestConsentInfoUpdate. This request checks the following:

Whether consent is required. For example, consent is required for the first time, or the previous consent decision expired.

Whether a privacy options entry point is required. Some privacy messages require apps to allow users to modify their privacy options at any time.

Parameters

onError

lambda which passes a ConsentException on failure

expect fun requestConsentInfoUpdate(onError: (Exception) -> Unit)

Gets the user's consent information

You should request an update of the user's consent information at every app launch, using requestConsentInfoUpdate. This request checks the following:

Whether consent is required. For example, consent is required for the first time, or the previous consent decision expired.

Whether a privacy options entry point is required. Some privacy messages require apps to allow users to modify their privacy options at any time.

Parameters

onError

lambda which passes a ConsentException on failure

actual fun requestConsentInfoUpdate(onError: (Exception) -> Unit)

Gets the user's consent information

You should request an update of the user's consent information at every app launch, using requestConsentInfoUpdate. This request checks the following:

Whether consent is required. For example, consent is required for the first time, or the previous consent decision expired.

Whether a privacy options entry point is required. Some privacy messages require apps to allow users to modify their privacy options at any time.

Parameters

onError

lambda which passes a ConsentException on failure