isPrivacyPolicyEnabled

open fun isPrivacyPolicyEnabled(@NonNull context: Context, defaultStatus: Boolean): Boolean

Call this method to check whether the privacy policy is activated or not based on the configured parameter in the BE admin interface or the defaultStatus if not configured.

Return

The configured privacy policy or defaultStatus

Parameters

context

The application context

defaultStatus

The default privacy policy if not configured in the BE admin