Package nl.vpro.domain.media
Class AVAttributes
java.lang.Object
nl.vpro.domain.media.AVAttributes
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionAVAttributes
(@Nullable Integer bitrate, AVFileFormat avFileFormat) AVAttributes
(AVAttributes source) Copy constructorAVAttributes
(AVFileFormat avFileFormat) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull AVAttributes.Builder
builder()
static AVAttributes
copy
(AVAttributes source) @Nullable Integer
Returns the associated bitrate (ornull
if unknown)getId()
boolean
hasVideo()
checks if it is video or audio.setAudioAttributes
(AudioAttributes audioAttributes) setAvFileFormat
(AVFileFormat avFileFormat) setBitrate
(@Nullable Integer bitrate) void
setByteSize
(Long byteSize) setVideoAttributes
(VideoAttributes videoAttributes) toString()
static AVAttributes
update
(AVAttributes from, AVAttributes to)
-
Constructor Details
-
AVAttributes
public AVAttributes() -
AVAttributes
-
AVAttributes
-
AVAttributes
Copy constructor
-
-
Method Details
-
copy
-
update
-
getBitrate
Returns the associated bitrate (ornull
if unknown) -
setBitrate
-
getAvFileFormat
-
setAvFileFormat
-
setAudioAttributes
-
setVideoAttributes
-
hasVideo
public boolean hasVideo()checks if it is video or audio.- Returns:
- true if video
-
toString
-
builder
-
getId
-
getByteSize
-
setByteSize
-
getAudioAttributes
-
getVideoAttributes
-