ConsentInformation.ConsentStatus

@Retention(value = SOURCE)
@IntDef(value = [ConsentStatus.UNKNOWN, ConsentStatus.NOT_REQUIRED, ConsentStatus.REQUIRED, ConsentStatus.OBTAINED])
public annotation ConsentInformation.ConsentStatus


Consent status values.

Summary

Constants

static final int

User consent not required.

static final int

User consent obtained.

static final int

User consent required but not yet obtained.

static final int

Consent status is unknown.

Constants

NOT_REQUIRED

public static final int NOT_REQUIRED = 1

User consent not required.

OBTAINED

public static final int OBTAINED = 3

User consent obtained. Personalized vs non-personalized undefined.

REQUIRED

public static final int REQUIRED = 2

User consent required but not yet obtained.

UNKNOWN

public static final int UNKNOWN = 0

Consent status is unknown. requestConsentInfoUpdate needs to be called to update the ConsentStatus.