RtcEngineContext class Null safety

RtcEngineConfig 实例的配置。

Implementers
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RtcEngineContext(String appId, {List<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 List<AreaCode>?
服务器的访问区域。该功能为高级设置,适用于有访问安全限制的场景。 [...]
@JsonKey(includeIfNull: false, toJson: _$AreaCodeListToJson), 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
A string representation of this object. [...]
inherited

Operators

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