public class YouTube.Thumbnails
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
YouTube.Thumbnails.Set |
Constructor and Description |
---|
Thumbnails() |
Modifier and Type | Method and Description |
---|---|
YouTube.Thumbnails.Set |
set(java.lang.String videoId)
Uploads a custom video thumbnail to YouTube and sets it for a video.
|
YouTube.Thumbnails.Set |
set(java.lang.String videoId,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Uploads a custom video thumbnail to YouTube and sets it for a video.
|
public YouTube.Thumbnails.Set set(java.lang.String videoId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.videoId
- The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being
provided.java.io.IOException
public YouTube.Thumbnails.Set set(java.lang.String videoId, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
This method should be used for uploading media content.
videoId
- The videoId parameter specifies a YouTube video ID for which the custom video thumbnail is being
provided.mediaContent
- The media HTTP content or null
if none.java.io.IOException
- if the initialization of the request fails