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) Publishes a media package element.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
Publishes a media package element.- Parameters:
mediaPackage- the media packagetrack- the track of the media package 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
-