Class Video
java.lang.Object
com.amilesend.onedrive.resource.item.type.Video
If a drive item is a video file, this describes its attributes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Video.VideoBuilderbuilder()booleanintNumber of bits per sample.intNumber of channels.Encoded audio format.intNumber of samples per second for audio.intThe video bitrate.longThe duration of the video in milliseconds.The video format ("Four Character Code").doubleThe video frame rate (frams per second).intThe video height in pixels.intgetWidth()The video width in pixels.inthashCode()toString()
-
Method Details
-
builder
-
getAudioBitsPerSample
public int getAudioBitsPerSample()Number of bits per sample. -
getAudioChannels
public int getAudioChannels()Number of channels. -
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
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
-
hashCode
public int hashCode() -
toString
-