public class PlayerStreamerCreator extends Creator<PlayerStreamer>
Constructor and Description |
---|
PlayerStreamerCreator() |
Modifier and Type | Method and Description |
---|---|
PlayerStreamer |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
PlayerStreamerCreator |
setStatusCallback(String statusCallback)
The URL to which Twilio will send asynchronous webhook requests for every
PlayerStreamer event.
|
PlayerStreamerCreator |
setStatusCallback(URI statusCallback)
The URL to which Twilio will send asynchronous webhook requests for every
PlayerStreamer event.
|
PlayerStreamerCreator |
setStatusCallbackMethod(HttpMethod statusCallbackMethod)
The HTTP method Twilio should use to call the `status_callback` URL.
|
PlayerStreamerCreator |
setVideo(Boolean video)
Specifies whether the PlayerStreamer is configured to stream video.
|
create, createAsync, createAsync
public PlayerStreamerCreator setVideo(Boolean video)
video
- Whether the PlayerStreamer is configured to stream videopublic PlayerStreamerCreator setStatusCallback(URI statusCallback)
statusCallback
- The URL to which Twilio will send PlayerStreamer event
updatespublic PlayerStreamerCreator setStatusCallback(String statusCallback)
statusCallback
- The URL to which Twilio will send PlayerStreamer event
updatespublic PlayerStreamerCreator setStatusCallbackMethod(HttpMethod statusCallbackMethod)
statusCallbackMethod
- The HTTP method Twilio should use to call the
`status_callback` URLpublic PlayerStreamer create(TwilioRestClient client)
create
in class Creator<PlayerStreamer>
client
- TwilioRestClient with which to make the requestCopyright © 2019 Twilio, Inc. All Rights Reserved.