GenderType

Enumeration representing gender codes for user properties. Used for gender-based ad targeting and user segmentation.

See also

UserPropertiesBuilder#gender(GenderType)

Entries

Link copied to clipboard

Represents male gender

Link copied to clipboard

Represents female gender

Link copied to clipboard

Represents unknown or unspecified gender

Properties

Link copied to clipboard
The string code representing the gender

Functions

Link copied to clipboard
open fun valueOf(name: String): GenderType

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
open fun valueOfCode(code: String): GenderType
Returns the GenderType corresponding to the given code, or null if not found.
Link copied to clipboard
open fun values(): Array<GenderType>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.