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.