Methods Summary |
---|
public int | describeContents()
return 0;
|
public java.lang.String | getAuthUserName()Gets the username for authentication. If it is null, then the username
is used in authentication instead.
return mAuthUserName;
|
public boolean | getAutoRegistration()Gets the flag of 'Auto Registration'.
return mAutoRegistration;
|
public int | getCallingUid()Gets the calling process's Uid in the sip settings.
return mCallingUid;
|
public java.lang.String | getDisplayName()Gets the display name of the user.
return mAddress.getDisplayName();
|
public java.lang.String | getPassword()Gets the password.
return mPassword;
|
public int | getPort()Gets the port number of the SIP server.
return mPort;
|
public java.lang.String | getProfileName()Gets the (user-defined) name of the profile.
return mProfileName;
|
public java.lang.String | getProtocol()Gets the protocol used to connect to the server.
return mProtocol;
|
public java.lang.String | getProxyAddress()Gets the network address of the server outbound proxy.
return mProxyAddress;
|
public boolean | getSendKeepAlive()Gets the flag of 'Sending keep-alive'.
return mSendKeepAlive;
|
public javax.sip.address.Address | getSipAddress()Gets the SIP address of this profile.
return mAddress;
|
public java.lang.String | getSipDomain()Gets the SIP domain.
return mDomain;
|
public javax.sip.address.SipURI | getUri()Gets the SIP URI of this profile.
return (SipURI) mAddress.getURI();
|
public java.lang.String | getUriString()Gets the SIP URI string of this profile.
// We need to return the sip uri domain instead of
// the SIP URI with transport, port information if
// the outbound proxy address exists.
if (!TextUtils.isEmpty(mProxyAddress)) {
return "sip:" + getUserName() + "@" + mDomain;
}
return getUri().toString();
|
public java.lang.String | getUserName()Gets the username.
return getUri().getUser();
|
private java.lang.Object | readResolve()
// For compatibility.
if (mPort == 0) mPort = DEFAULT_PORT;
return this;
|
public void | setCallingUid(int uid)Sets the calling process's Uid in the sip service.
mCallingUid = uid;
|
public void | writeToParcel(android.os.Parcel out, int flags)
out.writeSerializable(mAddress);
out.writeString(mProxyAddress);
out.writeString(mPassword);
out.writeString(mDomain);
out.writeString(mProtocol);
out.writeString(mProfileName);
out.writeInt(mSendKeepAlive ? 1 : 0);
out.writeInt(mAutoRegistration ? 1 : 0);
out.writeInt(mCallingUid);
out.writeInt(mPort);
out.writeString(mAuthUserName);
|