public class UpdateLiveWatermarkRequest extends AbstractModel
header, skipSign
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 |
getBackgroundHeight()
Get 背景水印高度。默认高度1080。
|
Long |
getBackgroundWidth()
Get 背景水印宽度。默认宽度1920。
|
Long |
getHeight()
Get 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
|
String |
getPictureUrl()
Get 水印图片 URL。
URL中禁止包含的字符:
;(){}$>`#"\'|
|
Long |
getWatermarkId()
Get 水印 ID。
在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
|
String |
getWatermarkName()
Get 水印名称。
最长30字节。
|
Long |
getWidth()
Get 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
|
Long |
getXPosition()
Get 显示位置,X轴偏移,单位是百分比,默认 0。
|
Long |
getYPosition()
Get 显示位置,Y轴偏移,单位是百分比,默认 0。
|
void |
setBackgroundHeight(Long BackgroundHeight)
Set 背景水印高度。默认高度1080。
|
void |
setBackgroundWidth(Long BackgroundWidth)
Set 背景水印宽度。默认宽度1920。
|
void |
setHeight(Long Height)
Set 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。
|
void |
setPictureUrl(String PictureUrl)
Set 水印图片 URL。
URL中禁止包含的字符:
;(){}$>`#"\'|
|
void |
setWatermarkId(Long WatermarkId)
Set 水印 ID。
在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。
|
void |
setWatermarkName(String WatermarkName)
Set 水印名称。
最长30字节。
|
void |
setWidth(Long Width)
Set 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。
|
void |
setXPosition(Long XPosition)
Set 显示位置,X轴偏移,单位是百分比,默认 0。
|
void |
setYPosition(Long YPosition)
Set 显示位置,Y轴偏移,单位是百分比,默认 0。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpdateLiveWatermarkRequest()
public UpdateLiveWatermarkRequest(UpdateLiveWatermarkRequest source)
public Long getWatermarkId()
public void setWatermarkId(Long WatermarkId)
WatermarkId
- 水印 ID。
在添加水印接口 [AddLiveWatermark](/document/product/267/30154) 调用返回值中获取水印 ID。public String getPictureUrl()
public void setPictureUrl(String PictureUrl)
PictureUrl
- 水印图片 URL。
URL中禁止包含的字符:
;(){}$>`#"\'|public Long getXPosition()
public void setXPosition(Long XPosition)
XPosition
- 显示位置,X轴偏移,单位是百分比,默认 0。public Long getYPosition()
public void setYPosition(Long YPosition)
YPosition
- 显示位置,Y轴偏移,单位是百分比,默认 0。public String getWatermarkName()
public void setWatermarkName(String WatermarkName)
WatermarkName
- 水印名称。
最长30字节。public Long getWidth()
public void setWidth(Long Width)
Width
- 水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。public Long getHeight()
public void setHeight(Long Height)
Height
- 水印高度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。public Long getBackgroundWidth()
public void setBackgroundWidth(Long BackgroundWidth)
BackgroundWidth
- 背景水印宽度。默认宽度1920。public Long getBackgroundHeight()
public void setBackgroundHeight(Long BackgroundHeight)
BackgroundHeight
- 背景水印高度。默认高度1080。Copyright © 2024. All rights reserved.