fun getCookieBannerHandling(): CookieBannerHandlingMode { return when (shouldUseCookieBanner) { true -> CookieBannerHandlingMode.REJECT_ALL false -> if (shouldShowCookieBannerUI && !userOptOutOfReEngageCookieBannerDialog) { CookieBannerHandlingMode.DETECT_ONLY } else { CookieBannerHandlingMode.DISABLED } } }
Get the current mode for cookie banner handling