RTCRoomStats class
Constructors
-
RTCRoomStats({required int duration, required int txBytes, required int rxBytes, required int txKBitRate, required int rxKBitRate, required int txAudioKBitRate, required int rxAudioKBitRate, required int txVideoKBitRate, required int rxVideoKBitRate, required int txScreenKBitRate, required int rxScreenKBitRate, required int userCount, required double txLostrate, required double rxLostrate, required int rtt, required int txJitter, required int rxJitter, required int txCellularKBitrate, required int rxCellularKBitrate, dynamic android_internalStats, bool? $disableInit})
-
-
RTCRoomStats.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
$instance
→ dynamic
-
no setterinherited
-
cpuAppUsage
↔ double?
-
@platform android
@brief CPU usage (%) of the application
getter/setter pair
-
duration
↔ int
-
@brief The duration, in seconds, that the local user has spent in the room.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
rtt
↔ int
-
@brief Round-trip time (in ms) from client side to server side
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
rxAudioKBitRate
↔ int
-
@brief The instantaneous value of audio Rx bitrate in kbps
getter/setter pair
-
rxBytes
↔ int
-
@brief Cumulative data received by the user in bytes.
getter/setter pair
-
rxCellularKBitrate
↔ int
-
@brief Rx cellular bandwidth consumption
getter/setter pair
-
rxJitter
↔ int
-
@hidden currently not available
@brief Rx jitter(ms)
getter/setter pair
-
rxKBitRate
↔ int
-
@brief The instantaneous value of Rx bitrate in kbps
getter/setter pair
-
rxLostrate
↔ double
-
@brief Current Rx packet loss rate. The range is
0,1.
getter/setter pair
-
rxScreenKBitRate
↔ int
-
@brief The instantaneous TX bitrate of screen-sharing video in Kbps
getter/setter pair
-
rxVideoKBitRate
↔ int
-
@brief The instantaneous value of video Rx bitrate in kbps
getter/setter pair
-
txAudioKBitRate
↔ int
-
@brief The instantaneous value of audio Tx bitrate in kbps
getter/setter pair
-
txBytes
↔ int
-
@brief Cumulative data sent by the user in bytes.
getter/setter pair
-
txCellularKBitrate
↔ int
-
@brief Tx cellular bandwidth consumption
getter/setter pair
-
txJitter
↔ int
-
@hidden currently not available
@brief Tx jitter(ms)
getter/setter pair
-
txKBitRate
↔ int
-
@brief The instantaneous value of Tx bitrate in kbps
getter/setter pair
-
txLostrate
↔ double
-
@brief Current Tx packet loss rate. The range is
0,1.
getter/setter pair
-
txScreenKBitRate
↔ int
-
@brief The instantaneous RX bitrate of screen-sharing video in Kbps
getter/setter pair
-
txVideoKBitRate
↔ int
-
@brief The instantaneous value of video Tx bitrate in kbps
getter/setter pair
-
userCount
↔ int
-
@brief Number of visible users in the current room
getter/setter pair
Methods
-
$createInstance(List args)
→ dynamic
-
Factory method for creating instances
override
-
$destroy()
→ void
-
inherited
-
$init(List args)
→ void
-
inherited
-
android_reset()
→ Future
-
@platform android
@detail api
@brief Reset RTCRoomStats{@link #RTCRoomStats}
-
findOverrideIndices(List args, List<List<int>> indicesList)
→ List<int>
-
查找重载参数下标列表
@desc android 构造函数存在重载
此方法通过实际传入参数与构造函数参数列表集合的比对,来获取当前实际的需要使用的参数列表
inherited
-
fn2AndroidClass(Function callback, dynamic nativeClass(), String methodName)
→ dynamic
-
与 ts runtime 中的 fn2AndroidClass 功能一致
将 Dart 函数转换为 Android 回调类实例供 Android 侧使用
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap()
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
transformToPlatformConstructorArgs(List args, List<int> indices, Map<String, dynamic> typeMap, Map<String, dynamic> enumMap, Map<String, dynamic> classMap, String platformVar)
→ List
-
实例化参数处理
将 pack 过后的 enum / class 转成 android / ios 平台侧的 enum / class
inherited
-
updateInstance(dynamic instance)
→ void
-
inherited