public class

Person.AdditionalName

extends java.lang.Object

 java.lang.Object

↳androidx.appsearch.builtintypes.Person.AdditionalName

Overview

Holds type information for additional names for Person.

Summary

Fields
public static final intTYPE_NICKNAME

The additional name is a nickname.

public static final intTYPE_PHONETIC_NAME

The additional name is a phonetic name.

public static final intTYPE_UNKNOWN

The additional name is unknown.

Constructors
publicAdditionalName(int type, java.lang.String value)

Constructs an Person.AdditionalName.

Methods
public booleanequals(java.lang.Object other)

public intgetType()

public java.lang.StringgetValue()

public inthashCode()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int TYPE_UNKNOWN

The additional name is unknown.

public static final int TYPE_NICKNAME

The additional name is a nickname.

public static final int TYPE_PHONETIC_NAME

The additional name is a phonetic name.

Constructors

public AdditionalName(int type, java.lang.String value)

Constructs an Person.AdditionalName.

Methods

public int getType()

public java.lang.String getValue()

public boolean equals(java.lang.Object other)

public int hashCode()