MixedStreamAudioConfig class

Inheritance
  • Object
  • PackClass
  • MixedStreamAudioConfig

Constructors

MixedStreamAudioConfig({required MixedStreamAudioCodecType audioCodec, required int bitrate, required int sampleRate, required int channels, required MixedStreamAudioProfile audioProfile, bool? $disableInit})
MixedStreamAudioConfig.fromMap(Map<String, dynamic> map)
factory

Properties

$instance → dynamic
no setterinherited
audioCodec MixedStreamAudioCodecType
getter/setter pair
audioProfile MixedStreamAudioProfile
@detail api @brief Sets the AAC profile. @param audioProfile AAC profile. See MixedStreamAudioProfile{@link #MixedStreamAudioProfile}. Defaults to MIXED_STREAM_AUDIO_PROFILE_LC("LC"). @note This parameter is not supported for WTN stream tasks.
getter/setter pair
bitrate int
@detail api @brief Sets the bitrate. @param bitrate The bitrate (Kbps) in range of 32, 192. Defaults to 64 Kbps.
getter/setter pair
channels int
@detail api @brief Sets the number of channels. @param channels The number of channels. Supported channels: 1 (single channel), 2 (dual channel). Defaults to 2.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sampleRate int
@detail api @brief Sets the sample rate. @param sampleRate The sample rate (Hz). Supported sample rates: 32,000 Hz, 44,100 Hz, 48,000 Hz. Defaults to 48,000 Hz.
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

Operators

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

Static Methods

deepPackedMapValues(Map<String, dynamic> map) → dynamic
mapMemberToConstructorParams(Map json) Map<String, dynamic>