| Class info |
| public static final class File.VideoMetadata extends GenericJson |
| Class of additional video media metadata. |
| Constructor name |
| File.VideoMetadata() Constructor for the File.VideoMetadata class. |
| Return type | Method name |
| File.VideoMetadata | clone() Clones a File.VideoMetadata class. |
| Long | getDurationTime() Obtains the duration of the video, in milliseconds. |
| Integer | getHeight() Obtains the height of the video, in pixels. |
| Integer | getWidth() Obtains the width of the video, in pixels. |
| File.VideoMetadata | set(String fieldName, Object value) Sets the given field value for the given field name. |
| File.VideoMetadata | setDurationTime(Long durationTime) Sets the duration of the video, in milliseconds. |
| File.VideoMetadata | setHeight(Integer height) Sets the height of the video, in pixels. |
| File.VideoMetadata | setWidth(Integer width) Sets the width of the video, in pixels. |
| constructor |
| File.VideoMetadata () |
| Constructs a File.VideoMetadata object. |
| Method |
| public File.VideoMetadata clone() |
| Clones a File.VideoMetadata object. |
Return
| type | desc |
| File.VideoMetadata | A File.VideoMetadata object. |
| Method |
| public Long getDurationTime() |
| Obtains the duration of the video, in milliseconds. |
Return
| type | desc |
| Long | Duration of the video, in milliseconds. |
| Method |
| public Integer getHeight() |
| Obtains the height of the video, in pixels. |
Return
| type | desc |
| Integer | Height of the video, in pixels. |
| Method |
public Integer getWidth() |
| Obtains the width of the video, in pixels. |
Return
| type | desc |
| Integer | Width 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 name | Parameter desc |
| fieldName | Field name. |
| value | Field value. |
Return
| type | desc |
| File.VideoMetadata | A File.VideoMetadata object. |
| Method |
| public File.VideoMetadata setDurationTime(Long durationTime) |
| Sets the duration of the video, in milliseconds. |
Parameters
| Parameter name | Parameter desc |
| durationTime | Duration of the video, in milliseconds. |
Return
| type | desc |
| File.VideoMetadata | A File.VideoMetadata object. |
| Method |
| public File.VideoMetadata setHeight(Integer height) |
| Sets the height of the video, in pixels. |
Parameters
| Parameter name | Parameter desc |
| height | Height of the video, in pixels. |
Return
| type | desc |
| File.VideoMetadata | A File.VideoMetadata object. |
| Method |
| public File.VideoMetadata setWidth(Integer width) |
| Sets the width of the video, in pixels. |
Parameters
| Parameter name | Parameter desc |
| width | Width of the video, in pixels. |
Return
| type | desc |
| File.VideoMetadata | A File.VideoMetadata object. |