NEJoinRoomOptions class
加入房间选项
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
- NEJoinRoomOptions({bool enableMyAudioDeviceOnJoinRtc = false, bool autoSubscribeAudio = true})
- NEJoinRoomOptions.fromJson(Map map)
-
factory
Properties
- autoSubscribeAudio → bool
-
是否自动订阅
final
- enableMyAudioDeviceOnJoinRtc → bool
-
配置在加入Rtc频道成功后是否打开本地音频设备,默认不打开。
该选项若配置为打开,则SDK会提前初始化音频设备,但不会对外发送本地音频流。
如果需要发送音频流,还需要调用
unmuteMyAudio
方法。final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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