API reference
API reference
Select your platform
No SDKs available
No versions available

ConsentStatus

Updated: Oct 30, 2025

ConsentStatus

@Serializable
enum ConsentStatus : Enum<ConsentStatus>
This enum represents the current status of a Consent

Entries

NameSummary
@SerialName(value = "DEFAULT_NOT_SEEN")
DefaultNotSeen
User hasn’t seen the consent yet.
@SerialName(value = "SEEN")
Seen
User has seen the consent but hasn’t approved/declined yet.
@SerialName(value = "WITHDRAWN")
Withdrawn
User has seen the consent but either declined when consent was first shown or withdrawn at a later time from some settings UI.
@SerialName(value = "CONSENTED")
Consented
User has consented to the consent

Properties

NameSummary
name
val name: String
ordinal
val ordinal: Int
value
val value: Int

Functions

NameSummary
valueOf
fun valueOf(value: String): ConsentStatus
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values
fun values(): Array<ConsentStatus>
Returns an array containing the constants of this enum type, in the order they’re declared.