Class Video

java.lang.Object
com.attribyte.parser.model.Video

public class Video extends Object
An immutable video.
Author:
Matt Hamer
  • Field Details

    • id

      public final String id
      A unique id, or an empty string if none.
    • altText

      public final String altText
      Text that describes the video, or an empty string if none.
    • title

      public final String title
      A title for the video, or an empty string if none.
    • width

      public final int width
      The video width or 0 if unknown.
    • height

      public final int height
      The video height or 0 if unknown.
    • mediaType

      public final String mediaType
      The video type or an empty string if none.
    • bitrate

      public final int bitrate
      The video bitrate.
    • durationMillis

      public final long durationMillis
      The duration in milliseconds.
    • aspect

      public final Aspect aspect
      The aspect.
    • image

      public final Image image
      An image representing the video.
    • variants

      public final com.google.common.collect.ImmutableList<Video> variants
      Variants of this video.
  • Method Details