public class StreamLayout extends AbstractModel
| Constructor and Description | 
|---|
| StreamLayout() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getBackgroundColor()Get | 
| Long | getFillMode()Get Video filling mode. | 
| String | getInputStreamId()Get | 
| LayoutParams | getLayoutParams()Get | 
| void | setBackgroundColor(String BackgroundColor)Set | 
| void | setFillMode(Long FillMode)Set Video filling mode. | 
| void | setInputStreamId(String InputStreamId)Set | 
| void | setLayoutParams(LayoutParams LayoutParams)Set | 
| 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, toJsonStringpublic LayoutParams getLayoutParams()
public void setLayoutParams(LayoutParams LayoutParams)
LayoutParams - public String getInputStreamId()
public void setInputStreamId(String InputStreamId)
InputStreamId - public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor - public Long getFillMode()
public void setFillMode(Long FillMode)
FillMode - Video filling mode.
0: self-adaption mode. Scales the video proportionally to completely display it in the specified area. In this mode, there may be black bars.
1: full-screen mode. Scales the video to make it fill the entire specified area. In this mode, no black bars will appear, but the video may not be displayed fully.Copyright © 2020. All rights reserved.