DebugGeography

Enum class representing different debug geography settings for testing consent flows. These settings allow developers to simulate user locations to test how the Consent.requestConsentInfoUpdate behaves under different geographical regulations.

See also

Disables debug geography settings. The consent SDK will behave as if the device is not in a debug geography.

Simulates the device being located within the European Economic Area (EEA).

Simulates the device being located outside the European Economic Area (EEA).

Simulates the device being located in a US state with specific privacy regulations (e.g., California).

Simulates the device being located in a region not covered by the other specific debug geographies.

Properties

entries
Link copied to clipboard

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

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

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

name
Link copied to clipboard
ordinal
Link copied to clipboard
value
Link copied to clipboard
val value: Int
val value: Long

Functions

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

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

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
Link copied to clipboard

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

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

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