public class StreamPayload extends java.lang.Object
StreamRequest.
streamUrl: An array containing a single URL to an mp3 or wav (16-bit) audio file.
loop: The number of times the audio file at streamUrl is repeated before the stream ends. Set to 0 to loop infinitely
| Constructor and Description |
|---|
StreamPayload(java.lang.String streamUrl,
int loop) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLoop() |
java.lang.String[] |
getStreamUrl() |
java.lang.String |
toJson() |
public StreamPayload(java.lang.String streamUrl, int loop)
public int getLoop()
public java.lang.String[] getStreamUrl()
public java.lang.String toJson()