public class PresetLayoutConfig extends AbstractModel
Constructor and Description |
---|
PresetLayoutConfig() |
Modifier and Type | Method and Description |
---|---|
Long |
getImageHeight()
Get Height of the output image in pixels.
|
Long |
getImageWidth()
Get Width of the output image in pixels.
|
Long |
getLocationX()
Get X offset of the output image in pixels.
|
Long |
getLocationY()
Get Y offset of the output image in pixels.
|
Long |
getRenderMode()
Get Render mode of the output image.
|
Long |
getStreamType()
Get Stream type of the user when a specified user is assigned to the image.
|
String |
getUserId()
Get Used to assign users to preset positions; if not assigned, users will occupy the positions set in `PresetLayoutConfig` in room entry sequence.
|
Long |
getZOrder()
Get Z-order of the image in pixels.
|
void |
setImageHeight(Long ImageHeight)
Set Height of the output image in pixels.
|
void |
setImageWidth(Long ImageWidth)
Set Width of the output image in pixels.
|
void |
setLocationX(Long LocationX)
Set X offset of the output image in pixels.
|
void |
setLocationY(Long LocationY)
Set Y offset of the output image in pixels.
|
void |
setRenderMode(Long RenderMode)
Set Render mode of the output image.
|
void |
setStreamType(Long StreamType)
Set Stream type of the user when a specified user is assigned to the image.
|
void |
setUserId(String UserId)
Set Used to assign users to preset positions; if not assigned, users will occupy the positions set in `PresetLayoutConfig` in room entry sequence.
|
void |
setZOrder(Long ZOrder)
Set Z-order of the image in pixels.
|
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 String getUserId()
public void setUserId(String UserId)
UserId
- Used to assign users to preset positions; if not assigned, users will occupy the positions set in `PresetLayoutConfig` in room entry sequence.public Long getStreamType()
public void setStreamType(Long StreamType)
StreamType
- Stream type of the user when a specified user is assigned to the image. 0: camera; 1: screen sharing. Set this parameter to 0 when the small image is occupied by a web user.public Long getImageWidth()
public void setImageWidth(Long ImageWidth)
ImageWidth
- Width of the output image in pixels. If this parameter is not set, 0 is used by default.public Long getImageHeight()
public void setImageHeight(Long ImageHeight)
ImageHeight
- Height of the output image in pixels. If this parameter is not set, 0 is used by default.public Long getLocationX()
public void setLocationX(Long LocationX)
LocationX
- X offset of the output image in pixels. The sum of `LocationX` and `ImageWidth` cannot exceed the total width of the mixed stream. If this parameter is not set, 0 is used by default.public Long getLocationY()
public void setLocationY(Long LocationY)
LocationY
- Y offset of the output image in pixels. The sum of `LocationY` and `ImageHeight` cannot exceed the total height of the mixed stream. If this parameter is not set, 0 is used by default.public Long getZOrder()
public void setZOrder(Long ZOrder)
ZOrder
- Z-order of the image in pixels. If this parameter is not set, 0 is used by default.public Long getRenderMode()
public void setRenderMode(Long RenderMode)
RenderMode
- Render mode of the output image. 0: cropping; 1: scaling. If this parameter is not set, 0 is used by default.Copyright © 2021. All rights reserved.