public boolean isBlocked(String address) { try { return mAdaptee.isBlocked(address); } catch (ImException e) { Log.e(TAG, e.getMessage()); return false; } }
public int unBlockContact(String address) { try { mAdaptee.unblockContactAsync(address); } catch (ImException e) { Log.e(TAG, e.getMessage()); return e.getImError().getCode(); } return ImErrorInfo.NO_ERROR; }