getVolume method
@detail api @brief 获取当前音量。 @param effectId 音效 ID @return - >0: 成功, 当前音量值。 - < 0: 失败 @note 仅在调用 start:filePath:config:{@link #ByteRTCAudioEffectPlayer#start:filePath:config} 后调用此接口。
Implementation
FutureOr<int> getVolume(int effectId) async {
return await nativeCall('getVolume:', [effectId]);
}