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)
Allows upload of watermark image and setting it for a channel.
|
YouTube.Watermarks.Set |
set(String channelId,
InvideoBranding content,
AbstractInputStreamContent mediaContent)
Allows upload of watermark image and setting it for a channel.
|
YouTube.Watermarks.Unset |
unset(String channelId)
Allows removal of channel watermark.
|
public YouTube.Watermarks.Set set(String channelId, InvideoBranding content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.channelId
- 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
- 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
- IOException
Copyright © 2011–2021 Google. All rights reserved.