public interface AliyunIClipConstructor extends AliyunIClipManager
Modifier and Type | Method and Description |
---|---|
int |
addImage(java.lang.String imagePath,
long durationMills,
TransitionBase transition,
AliyunDisplayMode mode)
Deprecated.
|
int |
addVideo(java.lang.String videoPath,
long startTimeMills,
long endTimeMills,
TransitionBase transition,
AliyunDisplayMode mode)
Deprecated.
|
int |
addVideo(java.lang.String videoPath,
TransitionBase transition,
AliyunDisplayMode mode)
Deprecated.
|
int |
deleteMediaClip()
Deprecated.
|
AliyunClip |
getMediaPart(int index)
Deprecated.
|
int |
getMediaPartCount()
Deprecated.
|
void |
removeMedia(int id)
移除媒体(视频/图片)
|
void |
removeVideo(java.lang.String videoPath)
Deprecated.
请使用
removeMedia(int) |
addMediaClip, addMediaClip, deleteLastMediaClip, deleteMediaClip, deleteMediaClip, getAllClips, getMediaClip, getMediaClipCount, swap, updateAllClips, updateMediaClip
@Deprecated int deleteMediaClip()
AliyunIClipManager.deleteLastMediaClip()
}AliyunErrorCode.ERROR_NO_CLIP
@Deprecated AliyunClip getMediaPart(int index)
AliyunIClipManager.getMediaClip(int)
index
- @Deprecated int getMediaPartCount()
AliyunIClipManager.getMediaClipCount()
@Deprecated int addVideo(java.lang.String videoPath, TransitionBase transition, AliyunDisplayMode mode)
AliyunIClipManager.addMediaClip(AliyunClip)
videoPath
- transition
- TransitionBase
mode
- @Deprecated int addVideo(java.lang.String videoPath, long startTimeMills, long endTimeMills, TransitionBase transition, AliyunDisplayMode mode)
AliyunIClipManager.addMediaClip(AliyunClip)
videoPath
- 视频路径startTimeMills
- 视频的开始时间点 毫秒endTimeMills
- 视频的结束时间点 毫秒transition
- TransitionBase
@Deprecated int addImage(java.lang.String imagePath, long durationMills, TransitionBase transition, AliyunDisplayMode mode)
AliyunIClipManager.addMediaClip(AliyunClip)
imagePath
- durationMills
- 毫秒transition
- TransitionBase
mode
- void removeMedia(int id)
id
- addVideo(String, TransitionBase, AliyunDisplayMode)
or addImage(String, long, TransitionBase, AliyunDisplayMode)
返回的IDvoid removeVideo(java.lang.String videoPath) throws java.lang.IllegalAccessException
removeMedia(int)
videoPath
- java.lang.IllegalAccessException