Interface YouTubePublicationService
- All Known Implementing Classes:
YouTubePublicationServiceRemoteImpl,YouTubeV3PublicationServiceImpl
public interface YouTubePublicationService
Publishes elements from MediaPackages to youtube.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionpublish(MediaPackage mediaPackage, Track track, Attachment thumbnail, List<Track> captions) Publishes a media package element with an optional thumbnail.retract(MediaPackage mediaPackage) Retract a media package element from the distribution channel.
-
Field Details
-
JOB_TYPE
Identifier for service registration and location- See Also:
-
-
Method Details
-
publish
Job publish(MediaPackage mediaPackage, Track track, Attachment thumbnail, List<Track> captions) throws PublicationException Publishes a media package element with an optional thumbnail.- Parameters:
mediaPackage- the media packagetrack- the track of the media package to publishthumbnail- the thumbnail of the media package to publishcaptions- the list of captions to publish- Returns:
- The job
- Throws:
PublicationException- if there was a problem publishing the media
-
retract
Retract a media package element from the distribution channel.- Parameters:
mediaPackage- the media package- Throws:
PublicationException- if there was a problem retracting the mediapackage
-