public class EventContent extends AbstractModel
skipSign
Constructor and Description |
---|
EventContent() |
EventContent(EventContent source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
ClipTask2017 |
getClipCompleteEvent()
Get Video clipping completion event, which is valid if the event type is `ClipComplete`.
|
ComposeMediaTask |
getComposeMediaCompleteEvent()
Get Media file composing task completion event, which is valid when the event type is `ComposeMediaComplete`.
|
ConcatTask2017 |
getConcatCompleteEvent()
Get Video splicing completion event, which is valid if the event type is `ConcatComplete`.
|
CreateImageSpriteTask2017 |
getCreateImageSpriteCompleteEvent()
Get Image sprite generating completion event, which is valid if the event type is `CreateImageSpriteComplete`.
|
DescribeFileAttributesTask |
getDescribeFileAttributesCompleteEvent()
Get The event of finishing getting file attributes.
|
EditMediaTask |
getEditMediaCompleteEvent()
Get Video editing completion event, which is valid if the event type is `EditMediaComplete`.
|
String |
getEventHandle()
Get Event handler.
|
String |
getEventType()
Get Supported event types:
`NewFileUpload`: Video uploaded.
`ProcedureStateChanged`: Task flow status changed.
`FileDeleted`: Video deleted.
`RestoreMediaComplete`: Video retrieved.
`PullComplete`: Finished video pulling.
`EditMediaComplete`: Finished video editing.
`SplitMediaComplete`: Finished video splitting.
`ComposeMediaComplete`: Finished producing the media file.
`WechatMiniProgramPublishComplete`: Finished publishing on Weixin Mini Program.
`RemoveWatermark`: Watermark removed.
`RebuildMediaComplete`: Finished audio/video remastering.
`ReviewAudioVideoComplete`: Finished moderation.
`ExtractTraceWatermarkComplete`: Finished digital watermark extraction.
`DescribeFileAttributesComplete`: Finished getting file attributes.
v2017 task types:
`TranscodeComplete`: Finished video transcoding.
`ConcatComplete`: Finished video splicing.
`ClipComplete`: Finished video clipping.
`CreateImageSpriteComplete`: Finished image sprite generation.
`CreateSnapshotByTimeOffsetComplete`: Finished time point screencapturing.
|
ExtractTraceWatermarkTask |
getExtractTraceWatermarkCompleteEvent()
Get The notification for completing digital watermark extraction.
|
FileDeleteTask |
getFileDeleteEvent()
Get File deletion event, which is valid if the event type is `FileDeleted`.
|
FileUploadTask |
getFileUploadEvent()
Get Video upload completion event, which is valid if the event type is `NewFileUpload`.
|
ProcedureTask |
getProcedureStateChangeEvent()
Get Task flow status change event, which is valid if the event type is `ProcedureStateChanged`.
|
PullUploadTask |
getPullCompleteEvent()
Get Video pull for upload completion event, which is valid if the event type is `PullComplete`.
|
RebuildMediaTask |
getRebuildMediaCompleteEvent()
Get The notification for completing audio/video remastering.
|
ReduceMediaBitrateTask |
getReduceMediaBitrateCompleteEvent()
Get This parameter is invalid now.
|
RemoveWatermarkTask |
getRemoveWatermarkCompleteEvent()
Get The notification for completing watermark removal.
|
RestoreMediaTask |
getRestoreMediaCompleteEvent()
Get The notification for completing video retrieval.
|
ReviewAudioVideoTask |
getReviewAudioVideoCompleteEvent()
Get The callback for the completion of the moderation task.
|
SnapshotByTimeOffsetTask2017 |
getSnapshotByTimeOffsetCompleteEvent()
Get Time point screencapturing completion event, which is valid when the event type is `CreateSnapshotByTimeOffsetComplete`.
|
SplitMediaTask |
getSplitMediaCompleteEvent()
Get The notification for completing video splitting, which is valid if the event type is `SplitMediaComplete`.
|
TranscodeTask2017 |
getTranscodeCompleteEvent()
Get Video transcoding completion event, which is valid if the event type is `TranscodeComplete`.
|
WechatMiniProgramPublishTask |
getWechatMiniProgramPublishCompleteEvent()
Get Release on WeChat Mini Program task completion event, which is valid if the event type is `WechatMiniProgramPublishComplete`.
|
WechatPublishTask |
getWechatPublishCompleteEvent()
Get Release on WeChat completion event, which is valid if the event type is `WechatPublishComplete`.
|
void |
setClipCompleteEvent(ClipTask2017 ClipCompleteEvent)
Set Video clipping completion event, which is valid if the event type is `ClipComplete`.
|
void |
setComposeMediaCompleteEvent(ComposeMediaTask ComposeMediaCompleteEvent)
Set Media file composing task completion event, which is valid when the event type is `ComposeMediaComplete`.
|
void |
setConcatCompleteEvent(ConcatTask2017 ConcatCompleteEvent)
Set Video splicing completion event, which is valid if the event type is `ConcatComplete`.
|
void |
setCreateImageSpriteCompleteEvent(CreateImageSpriteTask2017 CreateImageSpriteCompleteEvent)
Set Image sprite generating completion event, which is valid if the event type is `CreateImageSpriteComplete`.
|
void |
setDescribeFileAttributesCompleteEvent(DescribeFileAttributesTask DescribeFileAttributesCompleteEvent)
Set The event of finishing getting file attributes.
|
void |
setEditMediaCompleteEvent(EditMediaTask EditMediaCompleteEvent)
Set Video editing completion event, which is valid if the event type is `EditMediaComplete`.
|
void |
setEventHandle(String EventHandle)
Set Event handler.
|
void |
setEventType(String EventType)
Set Supported event types:
`NewFileUpload`: Video uploaded.
`ProcedureStateChanged`: Task flow status changed.
`FileDeleted`: Video deleted.
`RestoreMediaComplete`: Video retrieved.
`PullComplete`: Finished video pulling.
`EditMediaComplete`: Finished video editing.
`SplitMediaComplete`: Finished video splitting.
`ComposeMediaComplete`: Finished producing the media file.
`WechatMiniProgramPublishComplete`: Finished publishing on Weixin Mini Program.
`RemoveWatermark`: Watermark removed.
`RebuildMediaComplete`: Finished audio/video remastering.
`ReviewAudioVideoComplete`: Finished moderation.
`ExtractTraceWatermarkComplete`: Finished digital watermark extraction.
`DescribeFileAttributesComplete`: Finished getting file attributes.
v2017 task types:
`TranscodeComplete`: Finished video transcoding.
`ConcatComplete`: Finished video splicing.
`ClipComplete`: Finished video clipping.
`CreateImageSpriteComplete`: Finished image sprite generation.
`CreateSnapshotByTimeOffsetComplete`: Finished time point screencapturing.
|
void |
setExtractTraceWatermarkCompleteEvent(ExtractTraceWatermarkTask ExtractTraceWatermarkCompleteEvent)
Set The notification for completing digital watermark extraction.
|
void |
setFileDeleteEvent(FileDeleteTask FileDeleteEvent)
Set File deletion event, which is valid if the event type is `FileDeleted`.
|
void |
setFileUploadEvent(FileUploadTask FileUploadEvent)
Set Video upload completion event, which is valid if the event type is `NewFileUpload`.
|
void |
setProcedureStateChangeEvent(ProcedureTask ProcedureStateChangeEvent)
Set Task flow status change event, which is valid if the event type is `ProcedureStateChanged`.
|
void |
setPullCompleteEvent(PullUploadTask PullCompleteEvent)
Set Video pull for upload completion event, which is valid if the event type is `PullComplete`.
|
void |
setRebuildMediaCompleteEvent(RebuildMediaTask RebuildMediaCompleteEvent)
Set The notification for completing audio/video remastering.
|
void |
setReduceMediaBitrateCompleteEvent(ReduceMediaBitrateTask ReduceMediaBitrateCompleteEvent)
Set This parameter is invalid now.
|
void |
setRemoveWatermarkCompleteEvent(RemoveWatermarkTask RemoveWatermarkCompleteEvent)
Set The notification for completing watermark removal.
|
void |
setRestoreMediaCompleteEvent(RestoreMediaTask RestoreMediaCompleteEvent)
Set The notification for completing video retrieval.
|
void |
setReviewAudioVideoCompleteEvent(ReviewAudioVideoTask ReviewAudioVideoCompleteEvent)
Set The callback for the completion of the moderation task.
|
void |
setSnapshotByTimeOffsetCompleteEvent(SnapshotByTimeOffsetTask2017 SnapshotByTimeOffsetCompleteEvent)
Set Time point screencapturing completion event, which is valid when the event type is `CreateSnapshotByTimeOffsetComplete`.
|
void |
setSplitMediaCompleteEvent(SplitMediaTask SplitMediaCompleteEvent)
Set The notification for completing video splitting, which is valid if the event type is `SplitMediaComplete`.
|
void |
setTranscodeCompleteEvent(TranscodeTask2017 TranscodeCompleteEvent)
Set Video transcoding completion event, which is valid if the event type is `TranscodeComplete`.
|
void |
setWechatMiniProgramPublishCompleteEvent(WechatMiniProgramPublishTask WechatMiniProgramPublishCompleteEvent)
Set Release on WeChat Mini Program task completion event, which is valid if the event type is `WechatMiniProgramPublishComplete`.
|
void |
setWechatPublishCompleteEvent(WechatPublishTask WechatPublishCompleteEvent)
Set Release on WeChat completion event, which is valid if the event type is `WechatPublishComplete`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public EventContent()
public EventContent(EventContent source)
public String getEventHandle()
public void setEventHandle(String EventHandle)
EventHandle
- Event handler. The caller must call `ConfirmEvents` to confirm that the message has been received, and the confirmation is valid for 30 seconds. After the confirmation expires, the event can be obtained again.public String getEventType()
public void setEventType(String EventType)
EventType
- Supported event types:
public FileUploadTask getFileUploadEvent()
public void setFileUploadEvent(FileUploadTask FileUploadEvent)
FileUploadEvent
- Video upload completion event, which is valid if the event type is `NewFileUpload`.
Note: this field may return null, indicating that no valid values can be obtained.public ProcedureTask getProcedureStateChangeEvent()
public void setProcedureStateChangeEvent(ProcedureTask ProcedureStateChangeEvent)
ProcedureStateChangeEvent
- Task flow status change event, which is valid if the event type is `ProcedureStateChanged`.
Note: this field may return null, indicating that no valid values can be obtained.public FileDeleteTask getFileDeleteEvent()
public void setFileDeleteEvent(FileDeleteTask FileDeleteEvent)
FileDeleteEvent
- File deletion event, which is valid if the event type is `FileDeleted`.
Note: this field may return null, indicating that no valid values can be obtained.public PullUploadTask getPullCompleteEvent()
public void setPullCompleteEvent(PullUploadTask PullCompleteEvent)
PullCompleteEvent
- Video pull for upload completion event, which is valid if the event type is `PullComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public EditMediaTask getEditMediaCompleteEvent()
public void setEditMediaCompleteEvent(EditMediaTask EditMediaCompleteEvent)
EditMediaCompleteEvent
- Video editing completion event, which is valid if the event type is `EditMediaComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public SplitMediaTask getSplitMediaCompleteEvent()
public void setSplitMediaCompleteEvent(SplitMediaTask SplitMediaCompleteEvent)
SplitMediaCompleteEvent
- The notification for completing video splitting, which is valid if the event type is `SplitMediaComplete`.
Note: This field may return null, indicating that no valid values can be obtained.public ComposeMediaTask getComposeMediaCompleteEvent()
public void setComposeMediaCompleteEvent(ComposeMediaTask ComposeMediaCompleteEvent)
ComposeMediaCompleteEvent
- Media file composing task completion event, which is valid when the event type is `ComposeMediaComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public ClipTask2017 getClipCompleteEvent()
public void setClipCompleteEvent(ClipTask2017 ClipCompleteEvent)
ClipCompleteEvent
- Video clipping completion event, which is valid if the event type is `ClipComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public TranscodeTask2017 getTranscodeCompleteEvent()
public void setTranscodeCompleteEvent(TranscodeTask2017 TranscodeCompleteEvent)
TranscodeCompleteEvent
- Video transcoding completion event, which is valid if the event type is `TranscodeComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public CreateImageSpriteTask2017 getCreateImageSpriteCompleteEvent()
public void setCreateImageSpriteCompleteEvent(CreateImageSpriteTask2017 CreateImageSpriteCompleteEvent)
CreateImageSpriteCompleteEvent
- Image sprite generating completion event, which is valid if the event type is `CreateImageSpriteComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public ConcatTask2017 getConcatCompleteEvent()
public void setConcatCompleteEvent(ConcatTask2017 ConcatCompleteEvent)
ConcatCompleteEvent
- Video splicing completion event, which is valid if the event type is `ConcatComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public SnapshotByTimeOffsetTask2017 getSnapshotByTimeOffsetCompleteEvent()
public void setSnapshotByTimeOffsetCompleteEvent(SnapshotByTimeOffsetTask2017 SnapshotByTimeOffsetCompleteEvent)
SnapshotByTimeOffsetCompleteEvent
- Time point screencapturing completion event, which is valid when the event type is `CreateSnapshotByTimeOffsetComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public WechatPublishTask getWechatPublishCompleteEvent()
public void setWechatPublishCompleteEvent(WechatPublishTask WechatPublishCompleteEvent)
WechatPublishCompleteEvent
- Release on WeChat completion event, which is valid if the event type is `WechatPublishComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public WechatMiniProgramPublishTask getWechatMiniProgramPublishCompleteEvent()
public void setWechatMiniProgramPublishCompleteEvent(WechatMiniProgramPublishTask WechatMiniProgramPublishCompleteEvent)
WechatMiniProgramPublishCompleteEvent
- Release on WeChat Mini Program task completion event, which is valid if the event type is `WechatMiniProgramPublishComplete`.
Note: this field may return null, indicating that no valid values can be obtained.public RemoveWatermarkTask getRemoveWatermarkCompleteEvent()
public void setRemoveWatermarkCompleteEvent(RemoveWatermarkTask RemoveWatermarkCompleteEvent)
RemoveWatermarkCompleteEvent
- The notification for completing watermark removal. This parameter is valid only if the event type is `RemoveWatermark`.
Note: This field may return null, indicating that no valid values can be obtained.public RestoreMediaTask getRestoreMediaCompleteEvent()
public void setRestoreMediaCompleteEvent(RestoreMediaTask RestoreMediaCompleteEvent)
RestoreMediaCompleteEvent
- The notification for completing video retrieval. This parameter is valid if the event type is `RestoreMediaComplete`.
Note: This field may return null, indicating that no valid values can be obtained.public RebuildMediaTask getRebuildMediaCompleteEvent()
public void setRebuildMediaCompleteEvent(RebuildMediaTask RebuildMediaCompleteEvent)
RebuildMediaCompleteEvent
- The notification for completing audio/video remastering. This parameter is valid only if the event type is `RebuildMediaComplete`.
Note: This field may return null, indicating that no valid values can be obtained.public ExtractTraceWatermarkTask getExtractTraceWatermarkCompleteEvent()
public void setExtractTraceWatermarkCompleteEvent(ExtractTraceWatermarkTask ExtractTraceWatermarkCompleteEvent)
ExtractTraceWatermarkCompleteEvent
- The notification for completing digital watermark extraction. This parameter is valid only if `EventType` is `ExtractTraceWatermarkComplete`.
Note: This field may return null, indicating that no valid values can be obtained.public ReviewAudioVideoTask getReviewAudioVideoCompleteEvent()
public void setReviewAudioVideoCompleteEvent(ReviewAudioVideoTask ReviewAudioVideoCompleteEvent)
ReviewAudioVideoCompleteEvent
- The callback for the completion of the moderation task. This parameter is valid only if `EventType` is `ReviewAudioVideoComplete`.
Note: This field may return null, indicating that no valid values can be obtained.public ReduceMediaBitrateTask getReduceMediaBitrateCompleteEvent()
public void setReduceMediaBitrateCompleteEvent(ReduceMediaBitrateTask ReduceMediaBitrateCompleteEvent)
ReduceMediaBitrateCompleteEvent
- This parameter is invalid now.
Note: This field may return null, indicating that no valid values can be obtained.public DescribeFileAttributesTask getDescribeFileAttributesCompleteEvent()
public void setDescribeFileAttributesCompleteEvent(DescribeFileAttributesTask DescribeFileAttributesCompleteEvent)
DescribeFileAttributesCompleteEvent
- The event of finishing getting file attributes. This parameter is valid only if `EventType` is `DescribeFileAttributesComplete`.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.