Package com.google.ytd.model.VideoSubmission

Examples of com.google.ytd.model.VideoSubmission.ModerationStatus


  }

  @Override
  public void setVideoStatus(String id, String status) {
    VideoSubmission submission = getSubmissionById(id);
    ModerationStatus newStatus = ModerationStatus.valueOf(status);
    ModerationStatus currentStatus = submission.getStatus();

    if (newStatus == currentStatus) {
      // No change in status
      return;
    }
View Full Code Here


    if (submission == null) {
      throw new IllegalArgumentException("The input video id cannot be located.");
    }

    ModerationStatus newStatus = ModerationStatus.valueOf(status.toUpperCase());
    ModerationStatus currentStatus = submission.getStatus();

    if (newStatus == currentStatus) {
      return json;
    } else {
      // Set the YouTubeApiHelper with the admin auth token
View Full Code Here

TOP

Related Classes of com.google.ytd.model.VideoSubmission.ModerationStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.