Modifier and Type | Class and Description |
---|---|
class |
YouTube.ChannelBanners.Insert |
Constructor and Description |
---|
YouTube.ChannelBanners() |
Modifier and Type | Method and Description |
---|---|
YouTube.ChannelBanners.Insert |
insert(ChannelBannerInsertResponse content)
Uploads a channel banner to YouTube.
|
YouTube.ChannelBanners.Insert |
insert(ChannelBannerInsertResponse content,
AbstractInputStreamContent mediaContent)
Uploads a channel banner to YouTube.
|
public YouTube.ChannelBanners.Insert insert(ChannelBannerInsertResponse content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.content
- the ChannelBannerInsertResponse
IOException
public YouTube.ChannelBanners.Insert insert(ChannelBannerInsertResponse content, AbstractInputStreamContent mediaContent) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
content
- the ChannelBannerInsertResponse
media metadata or null
if nonemediaContent
- The media HTTP content or null
if none.IOException
- if the initialization of the request fails