public static final class ContactsContract.Contacts.AggregationSuggestions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContactsContract.Contacts.AggregationSuggestions.Builder |
addNameParameter(String name)
Add a name to be used when searching for aggregation suggestions.
|
Uri |
build()
Combine all of the options that have been set and return a new
Uri
object for fetching aggregation suggestions. |
ContactsContract.Contacts.AggregationSuggestions.Builder |
setContactId(long contactId)
Optional existing contact ID.
|
ContactsContract.Contacts.AggregationSuggestions.Builder |
setLimit(int limit)
Sets the Maximum number of suggested aggregations that should be returned.
|
public ContactsContract.Contacts.AggregationSuggestions.Builder setContactId(long contactId)
addNameParameter(java.lang.String)
.contactId
- contact to find aggregation suggestions forpublic ContactsContract.Contacts.AggregationSuggestions.Builder addNameParameter(String name)
name
- name to find aggregation suggestions forpublic ContactsContract.Contacts.AggregationSuggestions.Builder setLimit(int limit)
limit
- The maximum number of suggested aggregations