No examples for this method. 
     
 
     
      Frequently called with: [Clear]  
     
 
      
    
 
     
     
     -1 
    
 
     
     
   | java.lang.Object | |
| ↳ | android.net.sip.SipProfile.Builder | 
Helper class for creating a SipProfile. 
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  | 
           Creates a builder based on the given profile.
           | ||||||||||
|  | 
           Constructor.
           | ||||||||||
|  | 
           Constructor.
           | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  |  | 
           Builds and returns the SIP profile object.
           | |||||||||
|  |  | 
           Sets the username used for authentication.
           | |||||||||
|  |  | 
           Sets the auto.
           | |||||||||
|  |  | 
           Sets the display name of the user.
           | |||||||||
|  |  | 
           Sets the outbound proxy of the SIP server.
           | |||||||||
|  |  | 
           Sets the password of the SIP account
           | |||||||||
|  |  | 
           Sets the port number of the server.
           | |||||||||
|  |  | 
           Sets the name of the profile.
           | |||||||||
|  |  | 
           Sets the protocol used to connect to the SIP server.
           | |||||||||
|  |  | 
           Sets the send keep-alive flag.
           | |||||||||
| [Expand] 
           Inherited Methods
           | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|  From class java.lang.Object | |||||||||||
Creates a builder based on the given profile.
Constructor.
| uriString | the URI string as "sip: | 
|---|
| ParseException | if the string is not a valid URI | 
|---|
Constructor.
| username | username of the SIP account | 
|---|---|
| serverDomain | the SIP server domain; if the network address is different from the domain, use setOutboundProxy(String)to set server address | 
| ParseException | if the parameters are not valid | 
|---|
Builds and returns the SIP profile object.
Sets the username used for authentication.
| name | authentication username of the profile | 
|---|
Sets the auto. registration flag.
| flag | true if the profile will be registered automatically, false otherwise | 
|---|
Sets the display name of the user.
| displayName | display name of the user | 
|---|
Sets the outbound proxy of the SIP server.
| outboundProxy | the network address of the outbound proxy | 
|---|
Sets the password of the SIP account
| password | password of the SIP account | 
|---|
Sets the port number of the server. By default, it is 5060.
| port | port number of the server | 
|---|
| IllegalArgumentException | if the port number is out of range | 
|---|
Sets the name of the profile. This name is given by user.
| name | name of the profile | 
|---|
Sets the protocol used to connect to the SIP server. Currently, only "UDP" and "TCP" are supported.
| protocol | the protocol string | 
|---|
| IllegalArgumentException | if the protocol is not recognized | 
|---|
Sets the send keep-alive flag.
| flag | true if sending keep-alive message is required, false otherwise | 
|---|