Modifier and Type | Class and Description |
---|---|
class |
YouTube.Thumbnails.Set |
Constructor and Description |
---|
Thumbnails() |
Modifier and Type | Method and Description |
---|---|
YouTube.Thumbnails.Set |
set(String videoId)
Uploads a custom video thumbnail to YouTube and sets it for a video.
|
YouTube.Thumbnails.Set |
set(String videoId,
AbstractInputStreamContent mediaContent)
Uploads a custom video thumbnail to YouTube and sets it for a video.
|
public YouTube.Thumbnails.Set set(String videoId) throws 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.IOException
public YouTube.Thumbnails.Set set(String videoId, AbstractInputStreamContent mediaContent) throws 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.IOException
- if the initialization of the request failsCopyright © 2011–2019 Google. All rights reserved.