public class LayoutParams extends AbstractModel
Constructor and Description |
---|
LayoutParams() |
Modifier and Type | Method and Description |
---|---|
Long |
getMainVideoRightAlign()
Get You can set the layout parameter as 1 or 0 in the screen sharing template.
|
Long |
getMainVideoStreamType()
Get Stream type of the big image, which takes effect in a screen sharing, floating, or picture-in-picture template.
|
String |
getMainVideoUserId()
Get ID of the user in the big image, which takes effect in a screen sharing, floating, or picture-in-picture template.
|
SmallVideoLayoutParams |
getSmallVideoLayoutParams()
Get Layout parameter of the small image, which takes effect in a picture-in-picture template.
|
Long |
getTemplate()
Get On-cloud stream mix layout template ID.
|
void |
setMainVideoRightAlign(Long MainVideoRightAlign)
Set You can set the layout parameter as 1 or 0 in the screen sharing template.
|
void |
setMainVideoStreamType(Long MainVideoStreamType)
Set Stream type of the big image, which takes effect in a screen sharing, floating, or picture-in-picture template.
|
void |
setMainVideoUserId(String MainVideoUserId)
Set ID of the user in the big image, which takes effect in a screen sharing, floating, or picture-in-picture template.
|
void |
setSmallVideoLayoutParams(SmallVideoLayoutParams SmallVideoLayoutParams)
Set Layout parameter of the small image, which takes effect in a picture-in-picture template.
|
void |
setTemplate(Long Template)
Set On-cloud stream mix layout template ID.
|
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 Long getTemplate()
public void setTemplate(Long Template)
Template
- On-cloud stream mix layout template ID. 0: floating template (default value); 1: grid template; 2: screen sharing template; 3: picture-in-picture template.public String getMainVideoUserId()
public void setMainVideoUserId(String MainVideoUserId)
MainVideoUserId
- ID of the user in the big image, which takes effect in a screen sharing, floating, or picture-in-picture template.public Long getMainVideoStreamType()
public void setMainVideoStreamType(Long MainVideoStreamType)
MainVideoStreamType
- Stream type of the big image, which takes effect in a screen sharing, floating, or picture-in-picture template. 0: camera; 1: screen sharing. If a web user's stream is displayed in the big image on the left, enter 0 for this parameter.public SmallVideoLayoutParams getSmallVideoLayoutParams()
public void setSmallVideoLayoutParams(SmallVideoLayoutParams SmallVideoLayoutParams)
SmallVideoLayoutParams
- Layout parameter of the small image, which takes effect in a picture-in-picture template.public Long getMainVideoRightAlign()
public void setMainVideoRightAlign(Long MainVideoRightAlign)
MainVideoRightAlign
- You can set the layout parameter as 1 or 0 in the screen sharing template. 1: big image on the right and small images on the left, 0: big image on the left and small images on the right. The default value is 0.Copyright © 2020. All rights reserved.