public static class ShortVideoGenerateManager.GenerateTask
extends java.lang.Object
implements com.app.shortvideo.presenter.VidInfo.OnUploadListener, com.ksy.recordlib.service.core.ShortVideoGenerateClient.OnSnapshotListener
限定符和类型 | 字段和说明 |
---|---|
static int |
ERROR |
static int |
GEN_FINISH |
static int |
GEN_PREPARE |
static int |
GEN_RUNNING |
static int |
UPLOAD_COMPLETE |
static int |
UPLOAD_ERROR |
static int |
UPLOAD_FINISH |
static int |
UPLOAD_PROCESS |
限定符和类型 | 方法和说明 |
---|---|
com.app.shortvideo.presenter.VidInfo |
buildVidInfo() |
void |
cancel() |
com.app.shortvideo.presenter.VidInfo |
getCurVidInfo() |
com.app.dynamic.presenter.bo.FeedBO |
getFeedBO() |
java.lang.String |
getId() |
ShortVideoGenerateManager.UploadBitmap |
getploadBitmap() |
int |
getProcess() |
com.ksy.recordlib.service.core.ShortVideoGenerateClient |
getShortVideoGenerateClient() |
int |
getStatus() |
ShortVideoGenerateManager.TaskError |
getTaskError() |
java.lang.String |
getTitle() |
ShortVideoGenerateManager.UploadBitmap |
getUploadBitmap() |
boolean |
isPreUpload() |
void |
onFailure(com.app.shortvideo.presenter.VidInfo.ErrorCode errorCode) |
void |
onFileNotExist(java.lang.String msg) |
void |
onProgress(int progress) |
void |
onSnapshot(java.util.List<java.lang.String> path,
java.util.List<android.graphics.Bitmap> bitmap) |
void |
onSuccess(com.app.dynamic.presenter.bo.FeedBO feedBO) |
void |
onUploadComplete() |
void |
setCoverCallback(ShortVideoGenerateManager.CoverCallback coverCallback) |
void |
setDelAfterSuc(boolean delAfterSuc) |
void |
setFeedBO(com.app.dynamic.presenter.bo.FeedBO feedBO) |
void |
setId(java.lang.String id) |
void |
setPreUpload(boolean preUpload) |
void |
setShortVideoFollowTag(java.util.List<com.app.util.TagMatcher.Tag> shortVideoFollowTag) |
void |
setStatus(int status) |
void |
setTaskError(ShortVideoGenerateManager.TaskError taskError) |
void |
start() |
void |
stop() |
public static final int ERROR
public static final int GEN_PREPARE
public static final int GEN_RUNNING
public static final int GEN_FINISH
public static final int UPLOAD_ERROR
public static final int UPLOAD_PROCESS
public static final int UPLOAD_COMPLETE
public static final int UPLOAD_FINISH
public int getProcess()
public void cancel()
public com.app.dynamic.presenter.bo.FeedBO getFeedBO()
public void setFeedBO(com.app.dynamic.presenter.bo.FeedBO feedBO)
public void setCoverCallback(ShortVideoGenerateManager.CoverCallback coverCallback)
public com.ksy.recordlib.service.core.ShortVideoGenerateClient getShortVideoGenerateClient()
public void start()
public void stop()
public void setDelAfterSuc(boolean delAfterSuc)
public java.lang.String getId()
public void setId(java.lang.String id)
public int getStatus()
public void setStatus(int status)
public ShortVideoGenerateManager.TaskError getTaskError()
public void setTaskError(ShortVideoGenerateManager.TaskError taskError)
public boolean isPreUpload()
public void setPreUpload(boolean preUpload)
public com.app.shortvideo.presenter.VidInfo getCurVidInfo()
public com.app.shortvideo.presenter.VidInfo buildVidInfo()
public ShortVideoGenerateManager.UploadBitmap getUploadBitmap()
public void onSuccess(com.app.dynamic.presenter.bo.FeedBO feedBO)
onSuccess
在接口中 com.app.shortvideo.presenter.VidInfo.OnUploadListener
public void onFailure(com.app.shortvideo.presenter.VidInfo.ErrorCode errorCode)
onFailure
在接口中 com.app.shortvideo.presenter.VidInfo.OnUploadListener
public void onProgress(int progress)
onProgress
在接口中 com.app.shortvideo.presenter.VidInfo.OnUploadListener
public void onUploadComplete()
onUploadComplete
在接口中 com.app.shortvideo.presenter.VidInfo.OnUploadListener
public void onFileNotExist(java.lang.String msg)
onFileNotExist
在接口中 com.app.shortvideo.presenter.VidInfo.OnUploadListener
public void onSnapshot(java.util.List<java.lang.String> path, java.util.List<android.graphics.Bitmap> bitmap)
onSnapshot
在接口中 com.ksy.recordlib.service.core.ShortVideoGenerateClient.OnSnapshotListener
public ShortVideoGenerateManager.UploadBitmap getploadBitmap()
public java.lang.String getTitle()
public void setShortVideoFollowTag(java.util.List<com.app.util.TagMatcher.Tag> shortVideoFollowTag)