ANDROID - Get contacts only from the same company-organization
RéponduHi,
When I'm looking for contacts for an user by name, I was expecting to get only the contacts for the same company/organization the user belongs to. Maybe I'm doing something wrong:
RainbowSdk.instance().contacts().searchByName(query, new IRainbowContactsSearchListener() {
@Override
public void searchStarted() {
}
@Override
public void searchFinished(final List<IContact> contactsFounded) {
// Search finished. So you can do what you want with the list of contacts found.
}
@Override
public void searchError(RainbowServiceException e) {
}
});
-
Hello Sergio,
You are not using it wrong, we haven't provided it yet in the current Android SDK.
A new method searchByNameOnlyInUserCompany will be available in the version 1.45 (probably released in two weeks).
This method returns an error in the listener if the user is not in a company.
Thank you very much for your request. :)
Nghia
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire