Package com.zego.zegoliveroom.entity
Class ZegoViewConfig
- java.lang.Object
-
- com.zego.zegoliveroom.entity.ZegoViewConfig
-
public class ZegoViewConfig extends java.lang.ObjectView object. Configure view object, view Mode, background color
-
-
Field Summary
Fields Modifier and Type Field Description booleanalphaBlendIf enable alpha blend render, default is false.intbackgroundColorBackground color, the format is 0xRRGGBB, default is black, which is 0x000000booleanmirrorIf enable the view mirror, default is false.introtationRotate the angle counterclockwise, the default is 0.java.lang.Objectviewview.java.lang.StringviewContextContext of view, default is empty string.intviewModeView mode, int modeZegoVideoViewMode
-
Constructor Summary
Constructors Constructor Description ZegoViewConfig(java.lang.Object view)
-
-
-
Field Detail
-
view
public java.lang.Object view
view.
-
viewMode
public int viewMode
View mode, int modeZegoVideoViewMode
-
backgroundColor
public int backgroundColor
Background color, the format is 0xRRGGBB, default is black, which is 0x000000
-
alphaBlend
public boolean alphaBlend
If enable alpha blend render, default is false.
-
rotation
public int rotation
Rotate the angle counterclockwise, the default is 0. The media player canvas is not supported.
-
mirror
public boolean mirror
If enable the view mirror, default is false. Only play stream canvas is supported,
-
viewContext
public java.lang.String viewContext
Context of view, default is empty string. A utf8 string with a maximum length of 63 bytes or less. Generally no attention is required, it can be used for slitting rendering of mixed stream, to understand the specific use, you need to contact ZEGO technical support.
-
-