Code example for SipManager

Methods: close

0
    private void unregisterProfile(final SipProfile p) {
        // run it on background thread for better UI response 
        new Thread(new Runnable() {
            public void run() { 
                try { 
                    mSipManager.close(p.getUriString());
                } catch (Exception e) {
                    Log.e(TAG, "unregister failed, SipService died?", e);
                } 
            } 
        }, "unregisterProfile").start();
    } 
 
    void deleteProfile(SipProfile p) {
        mSipProfileList.remove(p);
        SipPreference pref = mSipPreferenceMap.remove(p.getUriString());
        mSipListContainer.removePreference(pref);
    } 
 
    private void addProfile(SipProfile p) throws IOException {
        try {