Interface YouTubePublicationService

All Known Implementing Classes:
YouTubePublicationServiceRemoteImpl, YouTubeV3PublicationServiceImpl

public interface YouTubePublicationService
Publishes elements from MediaPackages to youtube.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Identifier for service registration and location
  • Method Summary

    Modifier and Type
    Method
    Description
    publish(MediaPackage mediaPackage, Track track)
    Publishes a media package element.
    retract(MediaPackage mediaPackage)
    Retract a media package element from the distribution channel.
  • Field Details

  • Method Details

    • publish

      Job publish(MediaPackage mediaPackage, Track track) throws PublicationException
      Publishes a media package element.
      Parameters:
      mediaPackage - the media package
      track - the track of the media package to publish
      Returns:
      The job
      Throws:
      PublicationException - if there was a problem publishing the media
    • retract

      Job retract(MediaPackage mediaPackage) throws PublicationException
      Retract a media package element from the distribution channel.
      Parameters:
      mediaPackage - the media package
      Throws:
      PublicationException - if there was a problem retracting the mediapackage