public class YouTube.ChannelBanners
extends java.lang.Object
| 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(ChannelBannerResource content)
Uploads a channel banner image to YouTube.
|
YouTube.ChannelBanners.Insert |
insert(ChannelBannerResource content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a channel banner image to YouTube.
|
public YouTube.ChannelBanners.Insert insert(ChannelBannerResource content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the ChannelBannerResourcejava.io.IOExceptionpublic YouTube.ChannelBanners.Insert insert(ChannelBannerResource content, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method should be used for uploading media content.
content - the ChannelBannerResource media metadata or null if nonemediaContent - The media HTTP content or null if none.java.io.IOException - if the initialization of the request fails