DownloadBehavior 接口
🌐 DownloadBehavior interface
语法
🌐 Signature
export interface DownloadBehavior
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description | 默认 🌐 Default |
|---|---|---|---|---|
| downloadPath |
| string | 保存下载文件的默认路径。 🌐 The default path to save downloaded files to. 附注 如果行为设置为 🌐 Setting this is required if behavior is set to | |
| policy | 是否允许所有或拒绝所有下载请求,或者使用默认行为(如果可用)。 🌐 Whether to allow all or deny all download requests, or use default behavior if available. 附注 将此设置为 🌐 Setting this to |