public class AliyunVideoClip extends AliyunClip
AliyunVideoClip.Builder
to create objects of this class. When using AliyunIImport
to import videos, video clips must be created and added to AliyunIImport
.Modifier and Type | Class and Description |
---|---|
static class |
AliyunVideoClip.Builder |
Modifier and Type | Method and Description |
---|---|
long |
getEndTime()
Gets the end time of a video clip.
|
int |
getRotation()
Gets the rotation angle of a video clip.
|
long |
getStartTime()
Gets the start time of a video clip.
|
void |
setEndTime(long endTime)
Sets the end time of a video clip.
|
void |
setRotation(int rotation)
Sets the rotation angle of a video clip.
|
void |
setStartTime(long startTime)
Sets the start time of a video clip.
|
getDisplayMode, getId, getMediaType, getSource, getTransition, setDisplayMode, setId, setMediaType, setSource, setTransition
public long getStartTime()
public void setStartTime(long startTime)
startTime
- The start time. Unit: milliseconds.public long getEndTime()
public void setEndTime(long endTime)
endTime
- The end time. Unit: milliseconds.public int getRotation()
public void setRotation(int rotation)
rotation
- Unit: degrees