FileDocCategorySizeDatePackage
BaseRecipientChip.javaAPI DocAndroid 5.1 API2087Thu Mar 12 22:22:50 GMT 2015com.android.ex.chips.recipientchip

BaseRecipientChip

public interface BaseRecipientChip
BaseRecipientChip defines an object that contains information relevant to a particular recipient.

Fields Summary
Constructors Summary
Methods Summary
public longgetContactId()
Get the id of the contact associated with this chip.

public longgetDataId()
Get the id of the data associated with this chip.

public java.lang.LonggetDirectoryId()
Get the directory id of the contact associated with this chip.

public java.lang.CharSequencegetDisplay()
Get the text displayed in the chip.

public com.android.ex.chips.RecipientEntrygetEntry()
Get associated RecipientEntry.

public java.lang.StringgetLookupKey()
Get the directory lookup key associated with this chip, or null.

public java.lang.CharSequencegetOriginalText()
Set the text in the edittextview originally associated with this chip before any reverse lookups.

public java.lang.CharSequencegetValue()
Get the text value this chip represents.

public booleanisSelected()
Return true if the chip is selected.

public voidsetOriginalText(java.lang.String text)
Set the text in the edittextview originally associated with this chip before any reverse lookups.

public voidsetSelected(boolean selected)
Set the selected state of the chip.