Class Video

java.lang.Object
com.amilesend.onedrive.resource.item.type.Video

public class Video extends Object
If a drive item is a video file, this describes its attributes.

API Documentation.

See Also:
  • Method Details

    • builder

      public static Video.VideoBuilder builder()
    • getAudioBitsPerSample

      public int getAudioBitsPerSample()
      Number of bits per sample.
    • getAudioChannels

      public int getAudioChannels()
      Number of channels.
    • getAudioFormat

      public String getAudioFormat()
      Encoded audio format.
    • getAudioSamplesPerSecond

      public int getAudioSamplesPerSecond()
      Number of samples per second for audio.
    • getBitrate

      public int getBitrate()
      The video bitrate.
    • getDuration

      public long getDuration()
      The duration of the video in milliseconds.
    • getFourCC

      public String getFourCC()
      The video format ("Four Character Code").
    • getFrameRate

      public double getFrameRate()
      The video frame rate (frams per second).
    • getHeight

      public int getHeight()
      The video height in pixels.
    • getWidth

      public int getWidth()
      The video width in pixels.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object