Package us.zoom.sdk

Class MobileRTCVideoUnitRenderInfo


  • public class MobileRTCVideoUnitRenderInfo
    extends MobileRTCRenderInfo
    Render information of meeting video unit.
    • Field Detail

      • is_username_visible

        public boolean is_username_visible
        Set whether to display user's name on video unit. Default value: false.
      • is_border_visible

        public boolean is_border_visible
        Set whether to display video border on video unit. Default value: false.
      • is_show_audio_off

        public boolean is_show_audio_off
        Set whether to display user's audio status on video unit. Default value: false.
      • backgroud_color

        public int backgroud_color
        Set the background color of video unit. Default value: black.
      • username_left_margin

        public int username_left_margin
        The distance of the username from the left side of the video.
      • username_bottom_margin

        public int username_bottom_margin
        The distance of the username from the bottom side of the video.
      • border_color

        public int border_color
        video border on video unit. Take effect when is_border_visible is true.
      • border_width

        public int border_width
        video border width.default 2px
      • username_textpaint

        public android.text.TextPaint username_textpaint
        TextPaint for user name. TextPaint TextPaint.bgColor for user name background color. Paint.setColor(int) for user name text color. All the color has alpha channel.
      • corner_radius

        public int corner_radius
        Video render round corner radius. unit px
      • username_corner_radius

        public int username_corner_radius
        user name round corner radius. unit px
      • enableGalleryMode

        public boolean enableGalleryMode
        Set attendee render to use gallery mode. this will force subscribe 90P video and ignore the view height
    • Constructor Detail

      • MobileRTCVideoUnitRenderInfo

        public MobileRTCVideoUnitRenderInfo​(int xPercent,
                                            int yPercent,
                                            int widthPercent,
                                            int heightPercent)
        Render information of meeting video unit.
        Parameters:
        xPercent - The percentage of the left video frame apart from the edge of the monitor.
        yPercent - The percentage of the top video frame apart from the edge of the monitor.
        widthPercent - The percentage that the video unit width occupies the total one of the monitor.
        heightPercent - The percentage that the video unit height occupies the total one of the monitor.
      • MobileRTCVideoUnitRenderInfo

        public MobileRTCVideoUnitRenderInfo()