setHasUserConsent

abstract suspend fun setHasUserConsent(hasUserConsent: Boolean, neverAskAgain: Boolean)

Sets the user's consent. It can be used to start collecting data, or to collect additional data.