Modifier and Type | Class and Description |
---|---|
class |
YouTube.Watermarks.Set |
class |
YouTube.Watermarks.Unset |
Constructor and Description |
---|
YouTube.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 watermark.
|
public YouTube.Watermarks.Set set(String channelId, InvideoBranding content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.channelId
- The channelId parameter specifies a YouTube channel ID for which the watermark is being provided.content
- the InvideoBranding
IOException
public 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 a 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 a YouTube channel ID for which the watermark is being unset.IOException