AgoraConnectionData class
Properties
-
appId
→ String
-
The App ID issued to you by Agora. See How to get the App ID. Only users in apps with the same App ID can join the same channel and communicate with each other.
final
-
areaCode
→ List<AreaCode>
-
(Optional) The region for connection. This advanced feature applies to scenarios that have regional restrictions.
final
-
channelName
→ String
-
Specifies the channel to join
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
tempToken
→ String?
-
(Optional) Token value generated from the Agora dashboard.
final
-
tokenUrl
→ String?
-
(Optional) Link to the deployed token server. The UIKit automatically generates the token after a fixed interval. Have a look at this guide to learn how to set up your token server
final
-
uid
→ int
-
(Optional) The user ID. A 32-bit unsigned integer with a value ranging from 1 to (232-1). This parameter must be unique. If uid is not assigned (or set as 0), the SDK assigns a uid and reports it in the onJoinChannelSuccess callback.
final