Package com.zello.sdk
Class Contacts
java.lang.Object
com.zello.sdk.Contacts
The Contacts class represents the contacts of the current user.
To use, get the current snapshot of Contacts using the Zello.getContacts() method. For specific usage, please see the sample projects.
-
Method Summary
-
Method Details
-
getCount
public int getCount()Returns the number of contacts in the list.
NB: This method may take nontrivial time to execute, so do not call it from the UI thread.
- Returns:
- the number of contacts for the user.
-
getItem
Returns the
Contactat the specified index.NB: This method may take nontrivial time to execute, so do not call it from the UI thread.
- Parameters:
index- Index indicating whichContactto retrieve.- Returns:
Contactat the specified index.
-