public class AddLiveWatermarkRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AddLiveWatermarkRequest() |
AddLiveWatermarkRequest(AddLiveWatermarkRequest 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 |
---|---|
Long |
getHeight()
Get Watermark height, which is set by entering a percentage of the live stream image’s original height.
|
String |
getPictureUrl()
Get Watermark image URL.
|
String |
getWatermarkName()
Get Watermark name.
|
Long |
getWidth()
Get Watermark width or its percentage of the live streaming video width.
|
Long |
getXPosition()
Get Display position: X-axis offset in %.
|
Long |
getYPosition()
Get Display position: Y-axis offset in %.
|
void |
setHeight(Long Height)
Set Watermark height, which is set by entering a percentage of the live stream image’s original height.
|
void |
setPictureUrl(String PictureUrl)
Set Watermark image URL.
|
void |
setWatermarkName(String WatermarkName)
Set Watermark name.
|
void |
setWidth(Long Width)
Set Watermark width or its percentage of the live streaming video width.
|
void |
setXPosition(Long XPosition)
Set Display position: X-axis offset in %.
|
void |
setYPosition(Long YPosition)
Set Display position: Y-axis offset in %.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AddLiveWatermarkRequest()
public AddLiveWatermarkRequest(AddLiveWatermarkRequest source)
public String getPictureUrl()
public void setPictureUrl(String PictureUrl)
PictureUrl
- Watermark image URL.
Unallowed characters in the URL:
;(){}$>`#"\'|public String getWatermarkName()
public void setWatermarkName(String WatermarkName)
WatermarkName
- Watermark name.
Up to 16 bytes.public Long getXPosition()
public void setXPosition(Long XPosition)
XPosition
- Display position: X-axis offset in %. Default value: 0.public Long getYPosition()
public void setYPosition(Long YPosition)
YPosition
- Display position: Y-axis offset in %. Default value: 0.public Long getWidth()
public void setWidth(Long Width)
Width
- Watermark width or its percentage of the live streaming video width. It is recommended to just specify either height or width as the other will be scaled proportionally to avoid distortions. The original width is used by default.public Long getHeight()
public void setHeight(Long Height)
Height
- Watermark height, which is set by entering a percentage of the live stream image’s original height. You are advised to set either the height or width as the other will be scaled proportionally to avoid distortions. Default value: original height.Copyright © 2024. All rights reserved.