public class PublishedTrackReader extends Reader<PublishedTrack>
| Constructor and Description |
|---|
PublishedTrackReader(String pathRoomSid,
String pathParticipantSid)
Construct a new PublishedTrackReader.
|
| Modifier and Type | Method and Description |
|---|---|
Page<PublishedTrack> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<PublishedTrack> |
getPage(String targetUrl,
TwilioRestClient client)
Retrieve the target page from the Twilio API.
|
Page<PublishedTrack> |
nextPage(Page<PublishedTrack> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
Page<PublishedTrack> |
previousPage(Page<PublishedTrack> page,
TwilioRestClient client)
Retrieve the previous page from the Twilio API.
|
ResourceSet<PublishedTrack> |
read(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
public ResourceSet<PublishedTrack> read(TwilioRestClient client)
read in class Reader<PublishedTrack>client - TwilioRestClient with which to make the requestpublic Page<PublishedTrack> firstPage(TwilioRestClient client)
firstPage in class Reader<PublishedTrack>client - TwilioRestClient with which to make the requestpublic Page<PublishedTrack> getPage(String targetUrl, TwilioRestClient client)
getPage in class Reader<PublishedTrack>targetUrl - API-generated URL for the requested results pageclient - TwilioRestClient with which to make the requestpublic Page<PublishedTrack> nextPage(Page<PublishedTrack> page, TwilioRestClient client)
nextPage in class Reader<PublishedTrack>page - current pageclient - TwilioRestClient with which to make the requestpublic Page<PublishedTrack> previousPage(Page<PublishedTrack> page, TwilioRestClient client)
previousPage in class Reader<PublishedTrack>page - current pageclient - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.