Google is committed to advancing racial equity for Black communities. See how.


public static final class Person.Gender extends Object

The person's gender.

Constant Summary

int FEMALE Female gender.
int MALE Male gender.
int OTHER Other.

Inherited Method Summary


public static final int FEMALE

Female gender.

Constant Value: 1

public static final int MALE

Male gender.

Constant Value: 0

public static final int OTHER


Constant Value: 2