showIfNeededOrRejected

fun showIfNeededOrRejected(daysAgo: Int, activity: Activity)

Presents the consent screen if it is required by the used CMP (i.e. no user consent has been set yet) or the user has rejected the consent.

Parameters

daysAgo

Minimum number of days that should be passed before re-showing the CMP

activity

The Activity from which the consent screen will be shown.