public class Sip extends Verb
| Constructor and Description |
|---|
Sip()
Instantiates a new Sip Noun with no URI.
|
Sip(String uri)
Instantiates a new Sip.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setMethod(String method)
Sets the method.
|
void |
setPassword(String password) |
void |
setStatusCallback(String url)
Set a URL to be requested when the status of this Call changes.
|
void |
setStatusCallbackEvents(String events)
Set the events Twilio will fire StatusCallbacks for.
|
void |
setStatusCallbackMethod(String method)
Set the method Twilio will use to request the StatusCallback URL.
|
void |
setUrl(String url)
Sets the url.
|
void |
setUsername(String username) |
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXMLpublic Sip(String uri)
public Sip()
public void setUsername(String username)
public void setPassword(String password)
public void setUrl(String url)
url - the waiting urlpublic void setMethod(String method)
method - the new methodpublic void setStatusCallback(String url)
url - Status callback URL.public void setStatusCallbackMethod(String method)
method - Either "GET" or "POST"public void setStatusCallbackEvents(String events)
events - Events to provide callbacks for.Copyright © 2011 Twilio, Inc. All Rights Reserved.