Package com.github.twitch4j.helix.domain
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 booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.util.CalendargetCreatedAt()Deprecated.in favor of getCreatedAtInstant()@NonNull java.time.InstantgetCreatedAtInstant()RFC3339 timestamp of the marker.@NonNull java.lang.StringgetDescription()Description of the marker.@NonNull java.lang.StringgetId()Stream ID.@NonNull java.lang.StringgetPosition_seconds()Relative offset (in seconds) of the marker, from the beginning of the stream.java.lang.StringgetUrl()A link to the stream with a query parameter that is a timestamp of the marker’s location.inthashCode()java.lang.StringtoString()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:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-