Class ZegoViewConfig


  • public class ZegoViewConfig
    extends java.lang.Object
    View object. Configure view object, view Mode, background color
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean alphaBlend
      If enable alpha blend render, default is false.
      int backgroundColor
      Background color, the format is 0xRRGGBB, default is black, which is 0x000000
      boolean mirror
      If enable the view mirror, default is false.
      int rotation
      Rotate the angle counterclockwise, the default is 0.
      java.lang.Object view
      view.
      java.lang.String viewContext
      Context of view, default is empty string.
      int viewMode
      View mode, int mode ZegoVideoViewMode
    • Constructor Summary

      Constructors 
      Constructor Description
      ZegoViewConfig​(java.lang.Object view)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • view

        public java.lang.Object view
        view.
      • viewMode

        public int viewMode
        View mode, int mode ZegoVideoViewMode
      • 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.
    • Constructor Detail

      • ZegoViewConfig

        public ZegoViewConfig​(java.lang.Object view)