setGender

fun setGender(gender: Gender?): Boolean

Sets the gender for the user. Used to collect information about the user.

Return

a boolean indicating whether or not the gender was successfully set.

Parameters

gender

com.braze.enums.Gender enum representing the user's gender. A null value will unset the gender for this user.