Class VideoMarker

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

public class VideoMarker extends Object
Model representing a stream.

A stream is a channel, that is currently streaming live.

  • Constructor Details

    • VideoMarker

      public VideoMarker()
  • Method Details

    • getCreatedAt

      @Deprecated public Calendar getCreatedAt()
      Deprecated.
      in favor of getCreatedAtInstant()
      Returns:
      the timestamp of the marker, in the system default zone
    • getId

      @NonNull public @NonNull String getId()
      Stream ID.
    • getCreatedAtInstant

      @NonNull public @NonNull Instant getCreatedAtInstant()
      RFC3339 timestamp of the marker.
    • getDescription

      @NonNull public @NonNull String getDescription()
      Description of the marker.
    • getPosition_seconds

      @NonNull public @NonNull String getPosition_seconds()
      Relative offset (in seconds) of the marker, from the beginning of the stream.
    • getUrl

      public String getUrl()
      A link to the stream with a query parameter that is a timestamp of the marker’s location.
    • 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