Code example for SipManager

Methods: close, isOpened, unregister

0
		this.domain = domain;
	} 
 
	public boolean closeProfile(){ 
		try { 
			if(mProfile != null && mSipManager.isOpened(mProfile.getUriString())){
				mSipManager.close(mProfile.getUriString());
				mSipManager.unregister(mProfile, sipRegistrationListener);
				setRegistered(false); 
			} 
		} catch (SipException e) {
			e.printStackTrace();
		} 
		return isRegistered(); 
	} 
 
	public void callContacts(List<Contact> contacts){
 
		setContacts(contacts);
 
Contextual code suggestions in your IDE  Get Codota for Java