public static final class AliyunMixRecorderDisplayParam.Builder
extends java.lang.Object
AlivcMixRecorderDisplayParam
builder static inner class.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AliyunMixRecorderDisplayParam |
build()
Returns a
AlivcMixRecorderDisplayParam built from the parameters previously set. |
AliyunMixRecorderDisplayParam.Builder |
displayMode(VideoDisplayMode val)
Sets the
mDisplayMode and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixRecorderDisplayParam.Builder |
layoutLevel(int val)
Sets the
mLayoutLevel and returns a reference to this Builder so that the methods can be chained together. |
AliyunMixRecorderDisplayParam.Builder |
layoutParam(AliyunMixTrackLayoutParam val)
Sets the
mLayoutParam and returns a reference to this Builder so that the methods can be chained together. |
public AliyunMixRecorderDisplayParam.Builder displayMode(VideoDisplayMode val)
mDisplayMode
and returns a reference to this Builder so that the methods can be chained together.
设置该轨道流的显示模式val
- the mDisplayMode
to setpublic AliyunMixRecorderDisplayParam.Builder layoutLevel(int val)
mLayoutLevel
and returns a reference to this Builder so that the methods can be chained together.
设置布局等级,等级越低,渲染的层级越低,等级越高,渲染的层级越高,高层级的渲染画面会覆盖低层级的渲染画面。val
- the mLayoutLevel
to setpublic AliyunMixRecorderDisplayParam.Builder layoutParam(AliyunMixTrackLayoutParam val)
mLayoutParam
and returns a reference to this Builder so that the methods can be chained together.
设置轨道的布局参数,具体参考 AliyunMixTrackLayoutParam
关于布局的讲解。val
- the mLayoutParam
to setpublic AliyunMixRecorderDisplayParam build()
AlivcMixRecorderDisplayParam
built from the parameters previously set.AlivcMixRecorderDisplayParam
built with parameters of this AlivcMixRecorderDisplayParam.Builder