public class IngestsResource extends AbstractResource
IngestsResource
provides the functionality
to access the /ingests
endpoints of the Twitch API.AbstractResource.TwitchHttpResponseHandler
http, objectMapper
Constructor and Description |
---|
IngestsResource(java.lang.String baseUrl,
int apiVersion)
Construct the resource using the Twitch API base URL and specified API version.
|
Modifier and Type | Method and Description |
---|---|
void |
get(IngestsResponseHandler handler)
Returns a list of ingest objects.
|
getBaseUrl, setAuthAccessToken, setClientId
public IngestsResource(java.lang.String baseUrl, int apiVersion)
baseUrl
- the base URL of the Twitch APIapiVersion
- the requested version of the Twitch APIpublic void get(IngestsResponseHandler handler)
handler
- the response handler