public class WatermarkInput extends AbstractModel
| Constructor and Description |
|---|
WatermarkInput() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getDefinition()
Get ID of a watermarking template.
|
Float |
getEndTimeOffset()
Get End time offset of a watermark in seconds.
|
RawWatermarkParameter |
getRawParameter()
Get
|
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 ID of a watermarking template.
|
void |
setEndTimeOffset(Float EndTimeOffset)
Set End time offset of a watermark in seconds.
|
void |
setRawParameter(RawWatermarkParameter RawParameter)
Set
|
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, toJsonStringpublic Long getDefinition()
public void setDefinition(Long Definition)
Definition - ID of a watermarking template.public RawWatermarkParameter getRawParameter()
public void setRawParameter(RawWatermarkParameter RawParameter)
RawParameter - public String getTextContent()
public void setTextContent(String TextContent)
TextContent - Text content of up to 100 characters. This field is required only when the watermark type is text.public String getSvgContent()
public void setSvgContent(String SvgContent)
SvgContent - SVG content of up to 2,000,000 characters. This field is required only when the watermark type is `SVG`.public Float getStartTimeOffset()
public void setStartTimeOffset(Float StartTimeOffset)
StartTimeOffset - Start time offset of a watermark in seconds. If this parameter is left empty 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.