public interface AliyunIClipManager
Modifier and Type | Method and Description |
---|---|
void |
deleteAllPart()
Deletes all video clips.
|
void |
deleteLastPart()
Deletes the latest video clip.
|
void |
deletePart()
Deprecated.
|
void |
deletePart(int index)
Deletes a video clip at an index position.
|
int |
getDuration()
Gets the length of all video clips.
|
long |
getDuration(java.util.concurrent.TimeUnit timeUnit)
Gets the length of all video clips.
|
int |
getMaxDuration()
Gets the maximum video recording time.
|
int |
getMinDuration()
Gets the minimum video recording time.
|
int |
getPartCount()
Gets the number of video clips.
|
java.util.List<java.lang.String> |
getVideoPathList()
Gets the path of video clips in a list.
|
void |
setMaxDuration(int maxDurationMs)
Sets the maximum video recording time.
|
void |
setMinDuration(int minDurationMs)
Sets the minimum video recording time.
|
void setMaxDuration(int maxDurationMs)
maxDurationMs
- Unit: milliseconds.void setMinDuration(int minDurationMs)
minDurationMs
- Unit: milliseconds.int getDuration()
long getDuration(java.util.concurrent.TimeUnit timeUnit)
timeUnit
- the return time unitint getPartCount()
@Deprecated void deletePart()
deleteLastPart()
instead.void deleteLastPart()
void deletePart(int index)
index
- The index of the video clip to be deleted.void deleteAllPart()
int getMaxDuration()
int getMinDuration()
java.util.List<java.lang.String> getVideoPathList()