Class VideoMarker

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

public class VideoMarker
extends java.lang.Object
Model representing a stream.

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

  • Constructor Summary

    Constructors
    Constructor Description
    VideoMarker()  
  • Method Summary

    Modifier and Type Method Description
    protected boolean canEqual​(java.lang.Object other)  
    boolean equals​(java.lang.Object o)  
    java.util.Calendar getCreatedAt()
    Deprecated.
    in favor of getCreatedAtInstant()
    @NonNull java.time.Instant getCreatedAtInstant()
    RFC3339 timestamp of the marker.
    @NonNull java.lang.String getDescription()
    Description of the marker.
    @NonNull java.lang.String getId()
    Stream ID.
    @NonNull java.lang.String getPosition_seconds()
    Relative offset (in seconds) of the marker, from the beginning of the stream.
    java.lang.String getUrl()
    A link to the stream with a query parameter that is a timestamp of the marker’s location.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • VideoMarker

      public VideoMarker()
  • Method Details

    • getCreatedAt

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

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

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

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

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

      public java.lang.String getUrl()
      A link to the stream with a query parameter that is a timestamp of the marker’s location.
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • canEqual

      protected boolean canEqual​(java.lang.Object other)
    • hashCode

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object