Class Video.VideoBuilder
java.lang.Object
com.amilesend.onedrive.resource.item.type.Video.VideoBuilder
- Enclosing class:
Video
-
Method Summary
Modifier and TypeMethodDescriptionaudioBitsPerSample(int audioBitsPerSample) Number of bits per sample.audioChannels(int audioChannels) Number of channels.audioFormat(String audioFormat) Encoded audio format.audioSamplesPerSecond(int audioSamplesPerSecond) Number of samples per second for audio.bitrate(int bitrate) The video bitrate.build()duration(long duration) The duration of the video in milliseconds.The video format ("Four Character Code").frameRate(double frameRate) The video frame rate (frams per second).height(int height) The video height in pixels.toString()width(int width) The video width in pixels.
-
Method Details
-
audioBitsPerSample
Number of bits per sample.- Returns:
this.
-
audioChannels
Number of channels.- Returns:
this.
-
audioFormat
Encoded audio format.- Returns:
this.
-
audioSamplesPerSecond
Number of samples per second for audio.- Returns:
this.
-
bitrate
The video bitrate.- Returns:
this.
-
duration
The duration of the video in milliseconds.- Returns:
this.
-
fourCC
The video format ("Four Character Code").- Returns:
this.
-
frameRate
The video frame rate (frams per second).- Returns:
this.
-
height
The video height in pixels.- Returns:
this.
-
width
The video width in pixels.- Returns:
this.
-
build
-
toString
-