public class Dial extends Verb
| Constructor and Description |
|---|
Dial()
Instantiates a new dial.
|
Dial(String number)
Instantiates a new dial.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAction(String url)
Sets the action.
|
void |
setCallerId(String callerId)
Sets the caller id.
|
void |
setHangupOnStar(boolean f)
Sets the hangup on star.
|
void |
setMethod(String method)
Sets the method.
|
void |
setRecord(boolean f)
Set the record behavior (Legacy way).
|
void |
setRecord(String value)
Sets the record behavior.
|
void |
setTimeLimit(int i)
Sets the time limit.
|
void |
setTimeout(int i)
Sets the timeout.
|
append, asURL, getAttributes, getBody, getChildren, getTag, set, toEscapedXML, toXMLpublic Dial(String number)
number - the numberpublic Dial()
public void setAction(String url)
url - the new actionpublic void setMethod(String method)
method - the new methodpublic void setTimeout(int i)
i - the new timeoutpublic void setHangupOnStar(boolean f)
f - the new hangup on starpublic void setRecord(String value)
value - the new record valuepublic void setRecord(boolean f)
f - whether or not ro recordpublic void setTimeLimit(int i)
i - the new time limitpublic void setCallerId(String callerId)
callerId - the new caller idCopyright © 2011 Twilio, Inc. All Rights Reserved.