RtcChannelConfig class

The configurations class for joinning a channel.

用于加入频道的配置类。

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RtcChannelConfig({ChannelMode? mode = ChannelMode.OneOnOne, Set<ChannelService?>? serviceFlags = const {ChannelService.Media, ChannelService.Whiteboard, ChannelService.Message}, bool? subscribeAudioAll = true, String? userName})
Constructs a RtcChannelConfig

Properties

hashCode int
The hash code for this object.
no setterinherited
mode ChannelMode?
Channel working mode. Default: ChannelMode.OneOnOne.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceFlags Set<ChannelService?>?
Channel service serviceFlags. Default: ChannelService.Media | ChannelService.Whiteboard | ChannelService.Message.
getter/setter pair
subscribeAudioAll bool?
Whether to subscribe audio automatically. Default: YES.
getter/setter pair
userName String?
The user display name. It must compliance with the following rules:
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