public class YouTube.Watermarks
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
YouTube.Watermarks.Set |
class |
YouTube.Watermarks.Unset |
| Constructor and Description |
|---|
Watermarks() |
| Modifier and Type | Method and Description |
|---|---|
YouTube.Watermarks.Set |
set(java.lang.String channelId,
InvideoBranding content)
Uploads a watermark image to YouTube and sets it for a channel.
|
YouTube.Watermarks.Set |
set(java.lang.String channelId,
InvideoBranding content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a watermark image to YouTube and sets it for a channel.
|
YouTube.Watermarks.Unset |
unset(java.lang.String channelId)
Deletes a channel's watermark image.
|
public YouTube.Watermarks.Set set(java.lang.String channelId, InvideoBranding content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.channelId - The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.content - the InvideoBrandingjava.io.IOExceptionpublic YouTube.Watermarks.Set set(java.lang.String channelId, InvideoBranding 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.
channelId - The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.content - the InvideoBranding media metadata or null if nonemediaContent - The media HTTP content or null if none.java.io.IOException - if the initialization of the request failspublic YouTube.Watermarks.Unset unset(java.lang.String channelId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.channelId - The channelId parameter specifies the YouTube channel ID for which the watermark is being unset.java.io.IOException