Code example for SipProfile

Methods: getUriString

0
            } 
        }, "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 { 
            mSipManager.setRegistrationListener(p.getUriString(),
                    createRegistrationListener()); 
        } catch (Exception e) {
            Log.e(TAG, "cannot set registration listener", e);
        } 
        mSipProfileList.add(p);
        addPreferenceFor(p);
    }