public class WatermarkInput extends AbstractModel
Constructor and Description |
---|
WatermarkInput() |
Modifier and Type | Method and Description |
---|---|
Long |
getDefinition()
Get Watermarking template ID.
|
Float |
getEndTimeOffset()
Get End time offset of a watermark in seconds.
|
Float |
getStartTimeOffset()
Get Start time offset of a watermark in seconds.
|
String |
getSvgContent()
Get SVG content of up to 2,000,000 characters.
|
String |
getTextContent()
Get Text content of up to 100 characters.
|
void |
setDefinition(Long Definition)
Set Watermarking template ID.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set End time offset of a watermark in seconds.
|
void |
setStartTimeOffset(Float StartTimeOffset)
Set Start time offset of a watermark in seconds.
|
void |
setSvgContent(String SvgContent)
Set SVG content of up to 2,000,000 characters.
|
void |
setTextContent(String TextContent)
Set Text content of up to 100 characters.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getDefinition()
public void setDefinition(Long Definition)
Definition
- Watermarking template ID.public String getTextContent()
public void setTextContent(String TextContent)
TextContent
- Text content of up to 100 characters. This needs to be entered only when the watermark type is text.
Note: this field may return null, indicating that no valid values can be obtained.public String getSvgContent()
public void setSvgContent(String SvgContent)
SvgContent
- SVG content of up to 2,000,000 characters. This needs to be entered only when the watermark type is `SVG`.
Note: this field may return null, indicating that no valid values can be obtained.public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset
- Start time offset of a watermark in seconds. If this parameter is left blank or 0 is entered, the watermark will appear upon the first video frame.
public Float getEndTimeOffset()
public void setEndTimeOffset(Float EndTimeOffset)
EndTimeOffset
- End time offset of a watermark in seconds.
Copyright © 2020. All rights reserved.