RtcEngineConfig class
RtcEngineConfig 实例的配置。
- Annotations
- @JsonSerializable(explicitToJson: true)
Constructors
- RtcEngineConfig(String appId, {AreaCode areaCode, LogConfig logConfig})
- Constructs a RtcEngineConfig
Properties
- appId ↔ String
-
Agora 为 app 开发者签发的 App ID,详见获取 App ID。
使用同一个 App ID 的 app 才能进入同一个频道进行通话或直播。
一个 App ID 只能用于创建一个
RtcEngine
实例。如需更换 App ID,必须先调用destroy
销毁当前RtcEngine
实例,并在 destroy 成功返回后, 再调用createWithConfig
重新创建RtcEngine
。read / write - areaCode ↔ AreaCode
-
服务器的访问区域。该功能为高级设置,适用于有访问安全限制的场景。 [...]
@JsonKey(includeIfNull: false), read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- logConfig ↔ LogConfig
-
设置 Agora SDK 输出的日志文件。详见 LogConfig。 [...]
@JsonKey(includeIfNull: false), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited