https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-media-V5\#avrecorderconfig9录制配置参数中的URL如何通过应用沙箱路径获取?
参考代码:import UIAbility from '@ohos.app.ability.UIAbility'; export default class EntryAbility extends UIAbility { onWindowStageCreate(windowStage) { let context = this.context; let pathDir = context.filesDir; }}
参考代码: