Class SmallVideoLayoutParams
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.trtc.v20190722.models.SmallVideoLayoutParams
-
public class SmallVideoLayoutParams extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SmallVideoLayoutParams()SmallVideoLayoutParams(SmallVideoLayoutParams 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetImageHeight()Get 小画面在输出时的高度,单位为像素值,不填默认为0。LonggetImageWidth()Get 小画面在输出时的宽度,单位为像素值,不填默认为0。LonggetLocationX()Get 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。LonggetLocationY()Get 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。LonggetStreamType()Get 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。StringgetUserId()Get 代表小画面对应的用户ID。voidsetImageHeight(Long ImageHeight)Set 小画面在输出时的高度,单位为像素值,不填默认为0。voidsetImageWidth(Long ImageWidth)Set 小画面在输出时的宽度,单位为像素值,不填默认为0。voidsetLocationX(Long LocationX)Set 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。voidsetLocationY(Long LocationY)Set 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。voidsetStreamType(Long StreamType)Set 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。voidsetUserId(String UserId)Set 代表小画面对应的用户ID。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SmallVideoLayoutParams
public SmallVideoLayoutParams()
-
SmallVideoLayoutParams
public SmallVideoLayoutParams(SmallVideoLayoutParams 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.
-
-
Method Detail
-
getUserId
public String getUserId()
Get 代表小画面对应的用户ID。- Returns:
- UserId 代表小画面对应的用户ID。
-
setUserId
public void setUserId(String UserId)
Set 代表小画面对应的用户ID。- Parameters:
UserId- 代表小画面对应的用户ID。
-
getStreamType
public Long getStreamType()
Get 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。- Returns:
- StreamType 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。
-
setStreamType
public void setStreamType(Long StreamType)
Set 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。- Parameters:
StreamType- 代表小画面对应的流类型,0为摄像头,1为屏幕分享。小画面为web用户时此值填0。
-
getImageWidth
public Long getImageWidth()
Get 小画面在输出时的宽度,单位为像素值,不填默认为0。- Returns:
- ImageWidth 小画面在输出时的宽度,单位为像素值,不填默认为0。
-
setImageWidth
public void setImageWidth(Long ImageWidth)
Set 小画面在输出时的宽度,单位为像素值,不填默认为0。- Parameters:
ImageWidth- 小画面在输出时的宽度,单位为像素值,不填默认为0。
-
getImageHeight
public Long getImageHeight()
Get 小画面在输出时的高度,单位为像素值,不填默认为0。- Returns:
- ImageHeight 小画面在输出时的高度,单位为像素值,不填默认为0。
-
setImageHeight
public void setImageHeight(Long ImageHeight)
Set 小画面在输出时的高度,单位为像素值,不填默认为0。- Parameters:
ImageHeight- 小画面在输出时的高度,单位为像素值,不填默认为0。
-
getLocationX
public Long getLocationX()
Get 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。- Returns:
- LocationX 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
-
setLocationX
public void setLocationX(Long LocationX)
Set 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。- Parameters:
LocationX- 小画面在输出时的X偏移,单位为像素值,LocationX与ImageWidth之和不能超过混流输出的总宽度,不填默认为0。
-
getLocationY
public Long getLocationY()
Get 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。- Returns:
- LocationY 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
-
setLocationY
public void setLocationY(Long LocationY)
Set 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。- Parameters:
LocationY- 小画面在输出时的Y偏移,单位为像素值,LocationY与ImageHeight之和不能超过混流输出的总高度,不填默认为0。
-
-