| 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(String channelId,
InvideoBranding content)
Uploads a watermark image to YouTube and sets it for a channel.
|
YouTube.Watermarks.Set |
set(String channelId,
InvideoBranding content,
AbstractInputStreamContent mediaContent)
Uploads a watermark image to YouTube and sets it for a channel.
|
YouTube.Watermarks.Unset |
unset(String channelId)
Deletes a channel's watermark image.
|
public YouTube.Watermarks.Set set(String channelId, InvideoBranding content) throws 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 InvideoBrandingIOExceptionpublic YouTube.Watermarks.Set set(String channelId, InvideoBranding content, AbstractInputStreamContent mediaContent) throws 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.IOException - if the initialization of the request failspublic YouTube.Watermarks.Unset unset(String channelId) throws 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.IOExceptionCopyright © 2011–2019 Google. All rights reserved.