Package com.zello.sdk

Class Contacts

java.lang.Object
com.zello.sdk.Contacts

public class Contacts extends Object

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 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

      @Nullable public Contact getItem(int index)

      Returns the Contact at 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 which Contact to retrieve.
      Returns:
      Contact at the specified index.