Package com.twilio.twiml.voice
Class Stream
- java.lang.Object
-
- com.twilio.twiml.TwiML
-
- com.twilio.twiml.voice.Stream
-
public class Stream extends TwiML
TwiML wrapper for<Stream>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStream.BuilderCreate a new<Stream>elementstatic classStream.StatusCallbackMethodstatic classStream.Track
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetConnectorName()Unique name for Stream ConnectorStringgetName()Friendly name given to the StreamStringgetStatusCallback()Status Callback URLStream.StatusCallbackMethodgetStatusCallbackMethod()Status Callback URL methodStream.TrackgetTrack()Track to be streamed to remote serviceStringgetUrl()URL of the remote service where the Stream is routed-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toUrl, toXml
-
-
-
-
Method Detail
-
getName
public String getName()
Friendly name given to the Stream- Returns:
- Friendly name given to the Stream
-
getConnectorName
public String getConnectorName()
Unique name for Stream Connector- Returns:
- Unique name for Stream Connector
-
getUrl
public String getUrl()
URL of the remote service where the Stream is routed- Returns:
- URL of the remote service where the Stream is routed
-
getTrack
public Stream.Track getTrack()
Track to be streamed to remote service- Returns:
- Track to be streamed to remote service
-
getStatusCallback
public String getStatusCallback()
Status Callback URL- Returns:
- Status Callback URL
-
getStatusCallbackMethod
public Stream.StatusCallbackMethod getStatusCallbackMethod()
Status Callback URL method- Returns:
- Status Callback URL method
-
-