Package video.api.client.api.models
Class VideoClip
- java.lang.Object
-
- video.api.client.api.models.VideoClip
-
- All Implemented Interfaces:
Serializable,DeepObject
public class VideoClip extends Object implements Serializable, DeepObject
Use this object to create a smaller clip from a video you upload. - You can only create video clips in the same request where you create the video container. - You cannot update the starting or ending timestamps of a video clip after you created the video container. - When you upload a video file into a container where you defined a starting and ending timestamp, the API trims the video according to those timestamps to create a clip.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_END_TIMECODEstatic StringSERIALIZED_NAME_START_TIMECODE
-
Constructor Summary
Constructors Constructor Description VideoClip()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoClipendTimecode(String endTimecode)booleanequals(Object o)StringgetEndTimecode()The timestamp that defines the end of the video clip you want to create.StringgetStartTimecode()The timestamp that defines the beginning of the video clip you want to create.inthashCode()voidsetEndTimecode(String endTimecode)voidsetStartTimecode(String startTimecode)VideoClipstartTimecode(String startTimecode)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_START_TIMECODE
public static final String SERIALIZED_NAME_START_TIMECODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_END_TIMECODE
public static final String SERIALIZED_NAME_END_TIMECODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getStartTimecode
@Nullable public String getStartTimecode()
The timestamp that defines the beginning of the video clip you want to create. The value must follow the `HH:MM:SS` format.- Returns:
- startTimecode
-
setStartTimecode
public void setStartTimecode(String startTimecode)
-
getEndTimecode
@Nullable public String getEndTimecode()
The timestamp that defines the end of the video clip you want to create. The value must follow the `HH:MM:SS` format.- Returns:
- endTimecode
-
setEndTimecode
public void setEndTimecode(String endTimecode)
-
-