AudioPropertiesConfig class
- Inheritance
-
- Object
- PackClass
- AudioPropertiesConfig
Properties
-
$instance
→ dynamic
-
no setterinherited
-
audioReportMode
↔ AudioPropertiesMode
-
@brief The audio info included in onLocalAudioPropertiesReport{@link #IRTCEngineEventHandler#onLocalAudioPropertiesReport}. See AudioPropertiesMode{@link #AudioPropertiesMode}.
Locally captured microphone audio info and locally captured screen audio info are included by default.
getter/setter pair
-
enableSpectrum
↔ bool
-
@brief Whether to enable audio spectrum detection
getter/setter pair
-
enableVad
↔ bool
-
@brief Whether to enable Voice Activity Detection
getter/setter pair
-
enableVoicePitch
↔ bool
-
@brief Sets whether to return the vocal pitch of the local user.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
interval
↔ int
-
@brief Prompt interval in ms
- <= 0: Turn off prompt
- (0,100]: Invalid interval value, and will be automatically reset to 100ms.
- > 100: the actual value of interval
getter/setter pair
-
localMainReportMode
↔ AudioReportMode
-
@brief The volume callback modes. See AudioReportMode{@link #AudioReportMode}.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
smooth
↔ float
-
@brief The smoothing coefficient for audio attribute information prompt. The range is
(0.0, 1.0].
The default value is 1.0, which means the smoothing effect is off by default. Smaller the value, smoother the audio volume prompt. If you want to enable the smooth effect, the recommended value is 0.3.
getter/setter pair
Methods
-
$createInstance(List args)
→ dynamic
-
Factory method for creating instances
override
-
$destroy()
→ void
-
inherited
-
$init(List args)
→ void
-
inherited
-
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