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 class
Stream.Builder
Create a new<Stream>
elementstatic class
Stream.Track
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConnectorName()
Unique name for Stream ConnectorString
getName()
Friendly name given to the StreamStream.Track
getTrack()
Track to be streamed to remote serviceString
getUrl()
URL of the remote service where the Stream is routed-
Methods inherited from class com.twilio.twiml.TwiML
equals, getChildren, getOptions, getTagName, hashCode, toString, 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
-
-