Modifier and Type | Class and Description |
---|---|
class |
YouTube.LiveStreams.Delete |
class |
YouTube.LiveStreams.Insert |
class |
YouTube.LiveStreams.List |
class |
YouTube.LiveStreams.Update |
Constructor and Description |
---|
LiveStreams() |
Modifier and Type | Method and Description |
---|---|
YouTube.LiveStreams.Delete |
delete(String id)
Deletes an existing stream for the authenticated user.
|
YouTube.LiveStreams.Insert |
insert(List<String> part,
LiveStream content)
Inserts a new stream for the authenticated user.
|
YouTube.LiveStreams.List |
list(List<String> part)
Retrieve the list of streams associated with the given channel.
|
YouTube.LiveStreams.Update |
update(List<String> part,
LiveStream content)
Updates an existing stream for the authenticated user.
|
public YouTube.LiveStreams.Delete delete(String id) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.id
- IOException
public YouTube.LiveStreams.Insert insert(List<String> part, LiveStream content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The *part* parameter serves two purposes in this operation. It identifies the properties that the
write operation will set as well as the properties that the API response will include. The
part properties that you can include in the parameter value are id, snippet, cdn,
content_details, and status.content
- the LiveStream
IOException
public YouTube.LiveStreams.List list(List<String> part) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The *part* parameter specifies a comma-separated list of one or more liveStream resource properties
that the API response will include. The part names that you can include in the parameter
value are id, snippet, cdn, and status.IOException
public YouTube.LiveStreams.Update update(List<String> part, LiveStream content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The *part* parameter serves two purposes in this operation. It identifies the properties that the
write operation will set as well as the properties that the API response will include. The
part properties that you can include in the parameter value are id, snippet, cdn, and
status. Note that this method will override the existing values for all of the mutable
properties that are contained in any parts that the parameter value specifies. If the
request body does not specify a value for a mutable property, the existing value for that
property will be removed.content
- the LiveStream
IOException
Copyright © 2011–2021 Google. All rights reserved.