RtcEngineContext class

Definition of RtcEngineContext.

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Properties

appId → String?
The App ID issued by Agora to the app developer. Only apps using the same App ID can join the same channel for communication or live streaming. One App ID can only be used to create one RtcEngine. To change the App ID, you must first call release to destroy the current RtcEngine and then create a new one.
final
areaCode → int?
The region for accessing the server. This is an advanced setting suitable for scenarios with access security restrictions. Supported regions are listed in AreaCode. The region code supports bitwise operations.
final
audioScenario → AudioScenarioType?
Audio scenario. Different audio scenarios correspond to different volume types on the device. See AudioScenarioType.
final
autoRegisterAgoraExtensions → bool?
Whether to automatically register Agora extensions when initializing RtcEngine : true : (default) Automatically register Agora extensions when initializing RtcEngine. false : Do not register Agora extensions when initializing RtcEngine. You need to call enableExtension to register the Agora extensions.
final
channelProfile → ChannelProfileType?
Channel usage scenario. See ChannelProfileType.
final
domainLimit → bool?
Whether to enable domain name restriction: true : Enable domain name restriction. This setting is suitable for IoT devices accessing the network using IoT SIM cards. The SDK will only connect to servers whose domain names or IPs are whitelisted and reported to the carrier. false : (default) Disable domain name restriction. This setting is suitable for most general scenarios.
final
hashCode → int
The hash code for this object.
no setterinherited
logConfig → LogConfig?
Sets the log files output by the SDK. See LogConfig. By default, the SDK generates 5 SDK log files and 5 API call log files, following these rules:
final
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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