public class UpdateLiveWatermarkRequest extends AbstractModel
Constructor and Description |
---|
UpdateLiveWatermarkRequest() |
UpdateLiveWatermarkRequest(UpdateLiveWatermarkRequest 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 or its percentage of the live streaming video width.
|
String |
getPictureUrl()
Get Watermark image URL.
|
Long |
getWatermarkId()
Get Watermark ID.
|
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 or its percentage of the live streaming video width.
|
void |
setPictureUrl(String PictureUrl)
Set Watermark image URL.
|
void |
setWatermarkId(Long WatermarkId)
Set Watermark ID.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public UpdateLiveWatermarkRequest()
public UpdateLiveWatermarkRequest(UpdateLiveWatermarkRequest source)
public Long getWatermarkId()
public void setWatermarkId(Long WatermarkId)
WatermarkId
- Watermark ID.
Get the watermark ID in the returned value of the [AddLiveWatermark](https://intl.cloud.tencent.com/document/product/267/30154?from_cn_redirect=1) API call.public String getPictureUrl()
public void setPictureUrl(String PictureUrl)
PictureUrl
- Watermark image URL.
Unallowed characters in the URL:
;(){}$>`#"\'|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 String getWatermarkName()
public void setWatermarkName(String WatermarkName)
WatermarkName
- Watermark name.
Up to 16 bytes.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 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 height is used by default.Copyright © 2021. All rights reserved.