目录

Class info
public static final class File.VideoMetadata extends GenericJson
Class of additional video media metadata.

Public Constructor Summary

Constructor name
File.VideoMetadata()
Constructor for the File.VideoMetadata class.

Public Method Summary

Return typeMethod name
File.VideoMetadataclone()
Clones a File.VideoMetadata class.
LonggetDurationTime()
Obtains the duration of the video, in milliseconds.
IntegergetHeight()
Obtains the height of the video, in pixels.
IntegergetWidth()
Obtains the width of the video, in pixels.
File.VideoMetadataset(String fieldName, Object value)
Sets the given field value for the given field name.
File.VideoMetadatasetDurationTime(Long durationTime)
Sets the duration of the video, in milliseconds.
File.VideoMetadatasetHeight(Integer height)
Sets the height of the video, in pixels.
File.VideoMetadatasetWidth(Integer width)
Sets the width of the video, in pixels.

Public Constructors

constructor
File.VideoMetadata ()
Constructs a File.VideoMetadata object.

Public Methods

Method
public File.VideoMetadata clone()
Clones a File.VideoMetadata object.

Return

typedesc
File.VideoMetadataA File.VideoMetadata object.


Method
public Long getDurationTime()
Obtains the duration of the video, in milliseconds.

Return

typedesc
LongDuration of the video, in milliseconds.


Method
public Integer getHeight()
Obtains the height of the video, in pixels.

Return

typedesc
IntegerHeight of the video, in pixels.
Method


public Integer getWidth()

Obtains the width of the video, in pixels.

Return

typedesc
IntegerWidth of the video, in pixels.


Method
public File.VideoMetadata set(String fieldName, Object value)
Sets the given field value for the given field name.

Parameters

Parameter nameParameter desc
fieldNameField name.
valueField value.

Return

typedesc
File.VideoMetadataA File.VideoMetadata object.


Method
public File.VideoMetadata setDurationTime(Long durationTime)
Sets the duration of the video, in milliseconds.

Parameters

Parameter nameParameter desc
durationTimeDuration of the video, in milliseconds.

Return

typedesc
File.VideoMetadataA File.VideoMetadata object.


Method
public File.VideoMetadata setHeight(Integer height)
Sets the height of the video, in pixels.

Parameters

Parameter nameParameter desc
heightHeight of the video, in pixels.

Return

typedesc
File.VideoMetadataA File.VideoMetadata object.


Method
public File.VideoMetadata setWidth(Integer width)
Sets the width of the video, in pixels.

Parameters

Parameter nameParameter desc
widthWidth of the video, in pixels.

Return

typedesc
File.VideoMetadataA File.VideoMetadata object.