Class Clip

java.lang.Object
com.github.twitch4j.helix.domain.Clip

public class Clip extends Object
Clip
  • Constructor Details

    • Clip

      public Clip()
  • Method Details

    • getCreatedAt

      @Deprecated public Date getCreatedAt()
      Deprecated.
      in favor of getCreatedAtInstant()
      Returns:
      the timestamp for the clip's creation
    • getId

      public String getId()
      ID of the clip being queried.
    • getUrl

      public String getUrl()
      URL where the clip can be viewed.
    • getEmbedUrl

      public String getEmbedUrl()
      URL to embed the clip.
    • getBroadcasterId

      public String getBroadcasterId()
      User ID of the stream from which the clip was created.
    • getBroadcasterName

      public String getBroadcasterName()
      User display name of the stream from which the clip was created.
    • getCreatorId

      public String getCreatorId()
      Display name of the user who created the clip.
    • getCreatorName

      public String getCreatorName()
      Display name of the user who created the clip.
    • getVideoId

      public String getVideoId()
      ID of the video from which the clip was created.
    • getGameId

      public String getGameId()
      ID of the game assigned to the stream when the clip was created.
    • getLanguage

      public String getLanguage()
      Language of the stream from which the clip was created.
    • getTitle

      public String getTitle()
      Title of the clip.
    • getViewCount

      public Integer getViewCount()
      Number of times the clip has been viewed.
    • getCreatedAtInstant

      public Instant getCreatedAtInstant()
      Date when the clip was created.
    • getThumbnailUrl

      public String getThumbnailUrl()
      URL of the clip thumbnail.
    • getDuration

      public Float getDuration()
      Duration of the Clip in seconds (up to 0.1 precision).
    • getVodOffset

      public Integer getVodOffset()
      The zero-based offset, in seconds, to where the clip starts in the video (VOD) or stream.
    • isFeatured

      public Boolean isFeatured()
      Whether the clip is featured.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object