All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.YouTube.Watermarks.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240514-2.0.0
Show newest version






YouTube.Watermarks (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube

Class YouTube.Watermarks

  • Enclosing class:
    YouTube


    public class YouTube.Watermarks
    extends Object
    The "watermarks" collection of methods.
    • Constructor Detail

      • Watermarks

        public Watermarks()
    • Method Detail

      • set

        public YouTube.Watermarks.Set set(String channelId,
                                          InvideoBranding content)
                                   throws IOException
        Allows upload of watermark image and setting 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 -
        content - the InvideoBranding
        Returns:
        the request
        Throws:
        IOException
      • set

        public YouTube.Watermarks.Set set(String channelId,
                                          InvideoBranding content,
                                          com.google.api.client.http.AbstractInputStreamContent mediaContent)
                                   throws IOException
        Allows upload of watermark image and setting 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 -
        content - the InvideoBranding media metadata or null if none
        mediaContent - The media HTTP content.
        Returns:
        the request
        Throws:
        IOException - if the initialization of the request fails
      • unset

        public YouTube.Watermarks.Unset unset(String channelId)
                                       throws IOException
        Allows removal of channel watermark. 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 -
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy