
target.apidocs.com.google.api.services.youtube.YouTube.Watermarks.html Maven / Gradle / Ivy
YouTube.Watermarks (YouTube Data API v3-rev20200320-1.30.9)
com.google.api.services.youtube
Class YouTube.Watermarks
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.Watermarks
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.Watermarks.Set
class
YouTube.Watermarks.Unset
-
Constructor Summary
Constructors
Constructor and Description
Watermarks()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
set
public YouTube.Watermarks.Set set(String channelId,
InvideoBranding content)
throws IOException
Uploads a watermark image to YouTube and sets it for a channel.
Create a request for the method "watermarks.set".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
channelId
- The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.
content
- the InvideoBranding
- Returns:
- the request
- Throws:
IOException
-
set
public YouTube.Watermarks.Set set(String channelId,
InvideoBranding content,
AbstractInputStreamContent mediaContent)
throws IOException
Uploads a watermark image to YouTube and sets it for a channel.
Create a request for the method "watermarks.set".
This request holds the parameters needed by the the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
- Parameters:
channelId
- The channelId parameter specifies the YouTube channel ID for which the watermark is being provided.
content
- the InvideoBranding
media metadata or null
if none
mediaContent
- The media HTTP content or null
if none.
- Returns:
- the request
- Throws:
IOException
- if the initialization of the request fails
-
unset
public YouTube.Watermarks.Unset unset(String channelId)
throws IOException
Deletes a channel's watermark image.
Create a request for the method "watermarks.unset".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
channelId
- The channelId parameter specifies the YouTube channel ID for which the watermark is being unset.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy