forceAcceptSubConsent

fun forceAcceptSubConsent(sessionToken: String, consentUpdateSource: String, consentId: Long): Completable

forceAcceptSubConsent, This method is used for updating a single subConsent and also accept all MainConsents if missing, this method should only be called when the user actively make a decision to accept the consent together with its main consent. After the update the cache is updated and the getConsents observable will emmit the updated ConsentGroups until the Completable is completed or failed.

Return

a Completable that indicates if the request was successful.

Parameters

sessionToken

token of the user.

consentUpdateSource

source of the permission update

consentId

the subConsent.