Package com.dropbox.core.v2.files
Class VideoMetadata.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.files.MediaMetadata.Builder
- 
- com.dropbox.core.v2.files.VideoMetadata.Builder
 
 
- 
- Enclosing class:
- VideoMetadata
 
 public static class VideoMetadata.Builder extends MediaMetadata.Builder Builder forVideoMetadata.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Longduration- 
Fields inherited from class com.dropbox.core.v2.files.MediaMetadata.Builderdimensions, location, timeTaken
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoMetadatabuild()Builds an instance ofVideoMetadataconfigured with this builder's valuesVideoMetadata.BuilderwithDimensions(Dimensions dimensions)Set value for optional field.VideoMetadata.BuilderwithDuration(java.lang.Long duration)Set value for optional field.VideoMetadata.BuilderwithLocation(GpsCoordinates location)Set value for optional field.VideoMetadata.BuilderwithTimeTaken(java.util.Date timeTaken)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withDurationpublic VideoMetadata.Builder withDuration(java.lang.Long duration) Set value for optional field.- Parameters:
- duration- The duration of the video in milliseconds.
- Returns:
- this builder
 
 - 
withDimensionspublic VideoMetadata.Builder withDimensions(Dimensions dimensions) Set value for optional field.- Overrides:
- withDimensionsin class- MediaMetadata.Builder
- Parameters:
- dimensions- Dimension of the photo/video.
- Returns:
- this builder
 
 - 
withLocationpublic VideoMetadata.Builder withLocation(GpsCoordinates location) Set value for optional field.- Overrides:
- withLocationin class- MediaMetadata.Builder
- Parameters:
- location- The GPS coordinate of the photo/video.
- Returns:
- this builder
 
 - 
withTimeTakenpublic VideoMetadata.Builder withTimeTaken(java.util.Date timeTaken) Set value for optional field.- Overrides:
- withTimeTakenin class- MediaMetadata.Builder
- Parameters:
- timeTaken- The timestamp when the photo/video is taken.
- Returns:
- this builder
 
 - 
buildpublic VideoMetadata build() Builds an instance ofVideoMetadataconfigured with this builder's values- Overrides:
- buildin class- MediaMetadata.Builder
- Returns:
- new instance of VideoMetadata
 
 
- 
 
-