-
Notifications
You must be signed in to change notification settings - Fork 2
Code Comments
Bhaumik Soni edited this page May 17, 2017
·
1 revision
public interface MyContactsUseCase extends BaseUseCase {
/**
* Call My Contact API For getting app my contacts which are in application
* list will provide by pagination we need to pass number offset and based on offset will provide use data
* in response should provide user list with deatils like (contact request type : accepted,pending,)
* also it should provide statud of user is blocked or not.
*
* @param userId - userId
* @param screenType - screenType
* @param searchText - searchText
* @param limit - record limit
* @param offset - offset
*/
void callMyContactAPI(String userId, String screenType, String searchText, int limit, int offset);
/**
* Unblock particular blocked user by passing user id and block id
*
* @param userId - userId
* @param blockId - blockId
*/
void callUnBlockUserApi(String userId, String blockId);
/**
*
* Block particular user by passing user id
*
* @param userId - userId
*
*/
void callBlockUserApi(String userId);
}
Coding Guidelines
Android IMP