AgoraUser class

Class that holds information on the currently connected user.

Set the user number issued by Agora.io in number and the user name specified here in name.

isLocalUser sets whether the user is your own user or not.

Set the name of the currently connected channel in channel.

Set the current connection status in status.

現在接続しているユーザーの情報を保持するクラス。

numberにAgora.ioから発行されたユーザー番号、nameにこちらで指定したユーザー名を設定します。

isLocalUserは自分自身のユーザーかどうかを設定します。

channelには現在接続しているチャンネル名を設定します。

statusには現在の接続状態を設定します。

Inheritance
Available Extensions

Properties

channel String?
Name of the currently connected channel.
no setter
hashCode int
The hash code for this object.
no setteroverride
hasListeners bool
Whether any listeners are currently registered.
no setterinherited
isLocalUser bool
Whether you are your own user or not.
final
name String?
User Name.
no setter
number int
User number issued by Agora.io.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status → RemoteVideoState
Current connection status.
no setter

Methods

addListener(VoidCallback listener) → void
Register a closure to be called when the object changes.
inherited
dispose() → void
Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Call all the registered listeners.
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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