ZegoLayoutPictureInPictureConfig class

layout config of picture in picture

Inheritance

Constructors

ZegoLayoutPictureInPictureConfig({bool isSmallViewDraggable = true, bool switchLargeOrSmallViewByClick = true, ZegoViewPosition smallViewPosition = ZegoViewPosition.topRight, EdgeInsets? margin, Size? smallViewSize, EdgeInsets? spacingBetweenSmallViews, bool isSmallViewsScrollable = true, int visibleSmallViewsCount = 3, bool showNewScreenSharingViewInFullscreenMode = true, ZegoShowFullscreenModeToggleButtonRules showScreenSharingFullscreenModeToggleButtonRules = ZegoShowFullscreenModeToggleButtonRules.showWhenScreenPressed})

Properties

hashCode int
The hash code for this object.
no setterinherited
isSmallViewDraggable bool
small video view is draggable if set true in one-on-one mode
getter/setter pair
isSmallViewsScrollable bool
small video views is scrollable if set true in multi-users mode
getter/setter pair
margin EdgeInsets?
the margin of PIP view
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showNewScreenSharingViewInFullscreenMode bool
getter/setter pair
showScreenSharingFullscreenModeToggleButtonRules ZegoShowFullscreenModeToggleButtonRules
getter/setter pair
smallViewPosition ZegoViewPosition
default position of small video view
getter/setter pair
smallViewSize Size?
the size of every small view
getter/setter pair
spacingBetweenSmallViews EdgeInsets?
the space between small views in multi-users mode
getter/setter pair
switchLargeOrSmallViewByClick bool
Whether you can switch view's position by clicking on the small view
getter/setter pair
visibleSmallViewsCount int
the visible small views count in multi-users mode if the value is set to -1, it will attempt to display the maximum number of views.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited