TrackingConsentState

Tracks user consent for analytics and data collection.

Entries

Link copied to clipboard

Initial state indicating that consent has not been requested from the user.

Link copied to clipboard

The user has granted consent. Logging and data collection are allowed.

Link copied to clipboard

The user has denied consent. Logging and data collection are prohibited.

Link copied to clipboard

Consent is not required, typically because the user is not in a jurisdiction where consent is mandatory for data collection.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.