AgoraClient class

AgoraClient is the main class in this UIKit. It is used to initialize our RtcEngine, add the list of user permissions, define the channel properties and use extend the RtcEngineEventHandler class.

Constructors

AgoraClient({required AgoraConnectionData agoraConnectionData, required List<Permission> enabledPermission, AgoraChannelData? agoraChannelData, AgoraEventHandlers? agoraEventHandlers})

Properties

agoraChannelData AgoraChannelData?
final
agoraConnectionData AgoraConnectionData
final
agoraEventHandlers AgoraEventHandlers?
final
enabledPermission List<Permission>
final
hashCode int
The hash code for this object.
no setterinherited
isInitialized bool
Useful to check if AgoraClient is ready for further usage
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionController SessionController
no setter
users List<int>
no setter

Methods

initialize() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

platformVersion() Future<String>