use of com.fanap.podchat.requestobject.RequestRole in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method removeAuditor.
private void removeAuditor() {
ArrayList<String> typeRoles = new ArrayList<>();
typeRoles.add(RoleType.Constants.READ_THREAD);
typeRoles.add(RoleType.Constants.EDIT_THREAD);
RequestRole requestRole = new RequestRole();
requestRole.setId(2);
requestRole.setRoleTypes(typeRoles);
ArrayList<RequestRole> requestRoles = new ArrayList<>();
requestRoles.add(requestRole);
RequestSetAuditor requestAddAdmin = new RequestSetAuditor.Builder(TEST_THREAD_ID, requestRoles).build();
presenter.removeAuditor(requestAddAdmin);
}
Aggregations