Module Mal4J

Class Video

java.lang.Object
dev.katsute.mal4j.anime.property.Video
All Implemented Interfaces:
ID

public abstract class Video extends Object implements ID
Represents a promotional video (PV) or trailer of an Anime.
Since:
2.10.0
Version:
2.10.0
Author:
Katsute
See Also:
  • Constructor Details

    • Video

      public Video()
  • Method Details

    • getTitle

      public abstract String getTitle()
      Returns the video title.
      Returns:
      video title
      Since:
      2.10.0
    • getURL

      public abstract String getURL()
      Returns the video URL.
      Returns:
      video URL
      Since:
      2.10.0
      See Also:
    • getThumbnail

      public abstract String getThumbnail()
      Returns the thumbnail URL.
      Returns:
      thumbnail URL
      Since:
      2.10.0
      See Also:
    • getCreatedAt

      public abstract Date getCreatedAt()
      Returns when the video was added.
      Returns:
      video add time
      Since:
      2.10.0
      See Also:
    • getCreatedAtEpochMillis

      public abstract Long getCreatedAtEpochMillis()
      Returns when the video was added as milliseconds since epoch.
      Returns:
      video add time
      Since:
      2.10.0
      See Also:
    • getUpdatedAt

      public abstract Date getUpdatedAt()
      Returns when the video was updated.
      Returns:
      video update time
      Since:
      2.10.0
      See Also:
    • getUpdatedAtEpochMillis

      public abstract Long getUpdatedAtEpochMillis()
      Returns when the video was updated as milliseconds since epoch.
      Returns:
      video update time
      Since:
      2.10.0
      See Also: