ZegoLiveStreamingCoHostConfig class
Constructors
-
ZegoLiveStreamingCoHostConfig({int maxCoHostCount = defaultMaxCoHostCount, bool turnOnCameraWhenCohosted()?, int inviteTimeoutSecond = 60, bool stopCoHostingWhenMicCameraOff = false, bool disableCoHostInvitationReceivedDialog = false})
-
Properties
-
disableCoHostInvitationReceivedDialog
↔ bool
-
used to determine whether to display a confirmation dialog to the
audience when they receive a co-host invitation, the default value is false
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
inviteTimeoutSecond
↔ int
-
timeout second when invite other to co-host
getter/setter pair
-
maxCoHostCount
↔ int
-
Maximum number of co-hosts.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
stopCoHostingWhenMicCameraOff
↔ bool
-
controls whether to automatically stop co-hosting when both the camera and microphone are turned off, the default value is false.
getter/setter pair
-
turnOnCameraWhenCohosted
↔ (bool Function()?)
-
whether to enable the camera by default when you be co-host, the default value is true
Every time you become a co-host again, it will re-read this configuration to check if enable the camera
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