public class LayoutParams extends AbstractModel
Constructor and Description |
---|
LayoutParams() |
Modifier and Type | Method and Description |
---|---|
Long |
getMainVideoStreamType()
Get Stream type of the big image on the left, which takes effect in the screen sharing template.
|
String |
getMainVideoUserId()
Get ID of the user in the big image on the left, which takes effect in the screen sharing template
|
SmallVideoLayoutParams |
getSmallVideoLayoutParams()
Get
|
Long |
getTemplate()
Get On-Cloud MixTranscoding layout template ID.
|
void |
setMainVideoStreamType(Long MainVideoStreamType)
Set Stream type of the big image on the left, which takes effect in the screen sharing template.
|
void |
setMainVideoUserId(String MainVideoUserId)
Set ID of the user in the big image on the left, which takes effect in the screen sharing template
|
void |
setSmallVideoLayoutParams(SmallVideoLayoutParams SmallVideoLayoutParams)
Set
|
void |
setTemplate(Long Template)
Set On-Cloud MixTranscoding 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 MixTranscoding layout template ID. 0: floating template (default value); 1: 9-grid template; 2: screen sharing templatepublic String getMainVideoUserId()
public void setMainVideoUserId(String MainVideoUserId)
MainVideoUserId
- ID of the user in the big image on the left, which takes effect in the screen sharing templatepublic Long getMainVideoStreamType()
public void setMainVideoStreamType(Long MainVideoStreamType)
MainVideoStreamType
- Stream type of the big image on the left, which takes effect in the screen sharing 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 parameterpublic SmallVideoLayoutParams getSmallVideoLayoutParams()
public void setSmallVideoLayoutParams(SmallVideoLayoutParams SmallVideoLayoutParams)
SmallVideoLayoutParams
- Copyright © 2020. All rights reserved.