Package us.zoom.sdk
Class MobileRTCVideoUnitRenderInfo
- java.lang.Object
-
- us.zoom.sdk.MobileRTCRenderInfo
-
- us.zoom.sdk.MobileRTCVideoUnitRenderInfo
-
public class MobileRTCVideoUnitRenderInfo extends MobileRTCRenderInfo
Render information of meeting video unit.
-
-
Field Summary
Fields Modifier and Type Field Description int
aspect_mode
Set video unit aspect mode defined inMobileRTCVideoUnitAspectMode
class.int
backgroud_color
Set the background color of video unit.int
border_color
video border on video unit.int
border_width
video border width.default 2pxint
corner_radius
Video render round corner radius.boolean
enableGalleryMode
Set attendee render to use gallery mode.boolean
is_border_visible
Set whether to display video border on video unit.boolean
is_show_audio_off
Set whether to display user's audio status on video unit.boolean
is_username_visible
Set whether to display user's name on video unit.int
username_bottom_margin
The distance of the username from the bottom side of the video.int
username_corner_radius
user name round corner radius.int
username_left_margin
The distance of the username from the left side of the video.android.text.TextPaint
username_textpaint
TextPaint for user name.-
Fields inherited from class us.zoom.sdk.MobileRTCRenderInfo
height, heightPercent, leftMargin, topMargin, width, widthPercent, xPercent, yPercent
-
-
Constructor Summary
Constructors Constructor Description MobileRTCVideoUnitRenderInfo()
MobileRTCVideoUnitRenderInfo(int xPercent, int yPercent, int widthPercent, int heightPercent)
Render information of meeting video unit.
-
Method Summary
-
Methods inherited from class us.zoom.sdk.MobileRTCRenderInfo
toString
-
-
-
-
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.
-
aspect_mode
public int aspect_mode
Set video unit aspect mode defined inMobileRTCVideoUnitAspectMode
class. Default value: original.
-
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 whenis_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()
-
-