RoomConfig class

@brief Room configuration

Inheritance

Properties

$instance → dynamic
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAutoSubscribeAudio bool
@brief Whether to automatically subscribe to the audio stream. The default is automatic subscription.
This setting affects both the main stream and the screen-sharing stream.
getter/setter pairinherited
isAutoSubscribeVideo bool
@brief Whether to automatically subscribe to the main video stream. The default is automatic subscription.
This setting affects both the main stream and the screen-sharing stream.
getter/setter pairinherited
isPublishAudio bool
@brief Whether to publish media streams automatically. The default is automatic publishing. + Changing the user role to audience via setUserVisibility will void this setting. + You can publish streams in only one of the rooms you have participated. If you have joined multiple rooms with the automatically publishing setting, the stream will be added into the first room you have joined only.
getter/setter pairinherited
isPublishVideo bool
@brief Whether to publish media streams automatically. The default is automatic publishing. + Changing the user role to audience via setUserVisibility will void this setting. + You can publish streams in only one of the rooms you have participated. If you have joined multiple rooms with the automatically publishing setting, the stream will be added into the first room you have joined only.
getter/setter pairinherited
profile RoomProfile
@brief Room profile. See ChannelProfile{@link #ChannelProfile}. The default is CHANNEL_PROFILE_COMMUNICATION. The setting cannot be changed after joining the room.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamId String
@brief Stream ID. The setting cannot be changed after joining the room.
getter/setter pairinherited

Methods

$createInstance(List args) → dynamic
Factory method for creating instances
inherited
$destroy() → void
inherited
$init(List args) → void
inherited
android_getProfile() Future<int?>
@platform android @hidden constructor/destructor
inherited
android_getStreamId() Future<string?>
@platform android @hidden constructor/destructor
inherited
findOverrideIndices(List args, List<List<int>> indicesList) List<int>
查找重载参数下标列表 @desc android 构造函数存在重载 此方法通过实际传入参数与构造函数参数列表集合的比对,来获取当前实际的需要使用的参数列表
inherited
fn2AndroidClass(Function callback, dynamic nativeClass(), String methodName) → dynamic
与 ts runtime 中的 fn2AndroidClass 功能一致 将 Dart 函数转换为 Android 回调类实例供 Android 侧使用
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
transformToPlatformConstructorArgs(List args, List<int> indices, Map<String, dynamic> typeMap, Map<String, dynamic> enumMap, Map<String, dynamic> classMap, String platformVar) List
实例化参数处理 将 pack 过后的 enum / class 转成 android / ios 平台侧的 enum / class
inherited
updateInstance(dynamic instance) → void
inherited

Operators

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