RtcTokenBuilder class

RtcTokenBuilder class provides static methods to build tokens for RTC services.

Constructors

RtcTokenBuilder.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

buildTokenWithAccount({required String appId, required String appCertificate, required String channelName, required String account, required int tokenExpireSeconds}) String
Build a token for Agora RTC service using user account
buildTokenWithUid({required String appId, required String appCertificate, required String channelName, required int uid, required int tokenExpireSeconds}) String
Build a token for Agora RTC service