/ohos5.0/docs/zh-cn/application-dev/file-management/ |
H A D | save-user-file.md | 5 对音频、图片、视频、文档类文件的保存操作类似,均通过调用对应Picker的save()接口并传入对应的saveOptions来实现。通过Picker访问相关文件,无需申请权限。 7 当前所有Picker的save接口都是用户可感知的,具体行为是拉起FilePicker, 将文件保存在系统文件管理器管理的特定目录,与图库管理的资源隔离,无法在图库中看到。 39 …js-apis-file-picker.md#constructor12)实例。调用[save()](../reference/apis-core-file-kit/js-apis-file-pi… 50 console.info('documentViewPicker.save to file succeed and uris are:' + uris); 59 …> 2、使用Picker的[save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save)接口获取到URI的权限是临时读写… 100 …-apis-file-picker.md#audioviewpicker)实例。调用[save()](../reference/apis-core-file-kit/js-apis-file-pi… 110 console.info('audioViewPicker.save to file succeed and uri is:' + uri); 118 …> 2、使用Picker获取的[save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save-3)URI权限是临时读写权限… 141 用户在使用save接口时,可以将pickerMode配置为DOWNLOAD模式,该模式下会在公共路径download目录下创建用户当前hap包名的文件夹,并通过save接口返回值回传相应的URI,后… 161 3. 创建文件选择器实例。调用[save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save-1)接口拉起FilePicke… [all …]
|
/ohos5.0/docs/en/application-dev/file-management/ |
H A D | save-user-file.md | 34 // (Optional) Name of the document to save. 40 …12) instance, and call [save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save) to st… 49 documentViewPicker.save(documentSaveOptions).then((documentSaveResult: Array<string>) => { 51 console.info('documentViewPicker.save to file succeed and uris are:' + uris); 97 // Set the name of the audio clip to save. This parameter is optional. 101 …ker) instance and use [save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save-5) to s… 108 audioViewPicker.save(audioSaveOptions).then((audioSelectResult: Array<string>) => { 110 console.info('audioViewPicker.save to file succeed and uri is:' + uri); 159 …instance, and call [save()](../reference/apis-core-file-kit/js-apis-file-picker.md#save-1) to star… 168 documentViewPicker.save(documentSaveOptions ).then((documentSaveResult: Array<string>) => { [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.1.3/ |
H A D | changelogs-filemanagement.md | 3 ## cl.file.1 picker PhotoViewPicker.save 接口兼容性变更 5 [PhotoViewPicker.save](../../../application-dev/reference/apis/js-apis-file-picker.md#save)接口兼容性变更。 9 基于此前版本开发的应用,使用PhotoViewPicker.save接口保存文件只能保存到文管目录,文管目录下的文件在图库中并不可见。如果需要保存到图库则需要切换为使用[安全控件创建媒体资源](..… 15 | picker | **function** PhotoViewPicker.save(option?: PhotoSaveOptions) : Promise<Array<s… 16 | picker | **function** PhotoViewPicker.save(option: PhotoSaveOptions, callback: AsyncCallback&… 17 | picker | **function** PhotoViewPicker.save(callback: AsyncCallback<Array<string>>… 21 PhotoViewPicker.save接口的具体行为是拉起FilePicker,将文件保存在系统文件管理器的特定目录中。
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-screenshot-sys.md | 45 ## screenshot.save 97 console.log('Failed to save screenshot. Code: ' + JSON.stringify(err)); 104 console.error('Failed to save screenshot. Code: ' + JSON.stringify(exception)); 108 ## screenshot.save 110 save(callback: AsyncCallback<image.PixelMap>): void 143 screenshot.save((err: BusinessError, pixelMap: image.PixelMap) => { 145 console.log('Failed to save screenshot. Code: ' + JSON.stringify(err)); 156 ## screenshot.save 158 save(options?: ScreenshotOptions): Promise<image.PixelMap> 211 let promise = screenshot.save(screenshotOptions); [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.1.3/ |
H A D | changelogs-filemanagement.md | 3 ## cl.file.1 Change of picker PhotoViewPicker.save() Compatibility 5 Changed the [PhotoViewPicker.save()](../../../application-dev/reference/apis/js-apis-file-picker.md… 9 …s, **PhotoViewPicker.save()** saves files only to the file manager directory, and these files are … 15 | picker | **function** PhotoViewPicker.save(option?: PhotoSaveOptions) : Promise<Array<s… 16 | picker | **function** PhotoViewPicker.save(option: PhotoSaveOptions, callback: AsyncCallback&… 17 | picker | **function** PhotoViewPicker.save(callback: AsyncCallback<Array<string>>… 21 **PhotoViewPicker.save()** starts **FilePicker** and saves files to a directory in the system file … 22 …/application-dev/reference/arkui-ts/ts-security-components-savebutton.md) to save images or videos.
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-picker.md | 259 ### save subsection 306 ### save subsection 350 ### save subsection 352 save(callback: AsyncCallback<Array<string>>): void 397 该方法只在调用 [save()](#save)时使用生效,其他场景下不可以使用。 627 ### save subsection 674 ### save subsection 716 ### save subsection 1044 ### save subsection 1093 ### save subsection [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-autoFillManager.md | 19 Implements callbacks triggered when auto-save is complete. 25 Called when auto-save is successful. 39 Called when auto-save fails. 56 console.log("save request on success"); 59 console.log("save request on failure"); 70 // Initiate an auto-save request. 90 … switching, you can call this API to save historical widget input data. The callback is triggered … 101 | callback | [AutoSaveCallback](#autosavecallback) | No| Callback used for the auto-save request.| 175 // Initiate an auto-save request. 178 console.log("save request on success"); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-distributedobject.md | 122 [save](#save9)接口回调信息。 428 ### save<sup>9+</sup> 470 console.info("save callback"); 472 console.info("save version: " + result.version); 477 ### save<sup>9+</sup> 519 console.info("save callback"); 521 console.info("save version " + result.version); 566 console.info("save callback"); 568 console.info("save version: " + result.version); 614 console.info("save callback"); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-image-kit/ |
H A D | _image_effect___filter_delegate.md | 24 | [OH_EffectFilterDelegate_Save](_image_effect.md#oh_effectfilterdelegate_save) [save](#save) | 序列化… 49 ### save subsection 52 OH_EffectFilterDelegate_Save ImageEffect_FilterDelegate::save
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-screenshot-sys.md | 45 ## screenshot.save 97 console.log('Failed to save screenshot. Code: ' + JSON.stringify(err)); 104 console.error('Failed to save screenshot. Code: ' + JSON.stringify(exception)); 108 ## screenshot.save 110 save(callback: AsyncCallback<image.PixelMap>): void 143 screenshot.save((err: BusinessError, pixelMap: image.PixelMap) => { 145 console.log('Failed to save screenshot. Code: ' + JSON.stringify(err)); 156 ## screenshot.save 158 save(options?: ScreenshotOptions): Promise<image.PixelMap> 211 let promise = screenshot.save(screenshotOptions); [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-picker.md | 259 ### save subsection 306 ### save subsection 350 ### save subsection 402 > - The **getSelectedIndex()** method takes effect only when used with [save()](#save). 413 // Name of the file to save. 626 ### save subsection 673 ### save subsection 715 ### save subsection 1043 ### save<sup>(deprecated)</sup> 1092 ### save<sup>(deprecated)</sup> [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.36/ |
H A D | changelogs-picker.md | 3 …wMIMETypes、PhotoSelectOptions、PhotoSelectResult、PhotoSaveOptions、PhotoViewPicker及其内部select和save接口废弃 15 …SelectOptions、PhotoSelectResult、PhotoSaveOptions、PhotoViewPicker及其内部select和save接口会有废弃提示。建议迁移使用替代接口。 37 | picker.PhotoViewPicker#save(option?: PhotoSaveOptions): Promise<Array<string>> | 使用SaveButton替换 |… 38 | picker.PhotoViewPicker#save(option: PhotoSaveOptions, callback: AsyncCallback<Array<string>>): vo… 39 | picker.PhotoViewPicker#save(callback: AsyncCallback<Array<string>>): void | 使用SaveButton替换 | Save…
|
/ohos5.0/docs/en/application-dev/reference/apis-image-kit/ |
H A D | _image_effect___filter_delegate.md | 24 | [OH_EffectFilterDelegate_Save](_image_effect.md#oh_effectfilterdelegate_save) [save](#save) | Poi… 51 ### save subsection 54 OH_EffectFilterDelegate_Save ImageEffect_FilterDelegate::save
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | param-tool.md | 19 | save | 保存persist参数到工作空间。 | 76 param save 79 
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.21/ |
H A D | changelogs-data_object.md | 31 在跨端迁移开发场景中,发起端分布式数据对象调用setSessionId接口后,再调用save接口保存数据到接收端。 36 dataObject.save(wantParam.targetDevice as string); // 调用save接口保存数据到接收端
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.36/ |
H A D | changelogs-picker.md | 3 …SelectOptions, PhotoSelectResult, PhotoSaveOptions, and PhotoViewPicker and its select() and save() 15 … **PhotoSaveOptions**, and **PhotoViewPicker** and its **select()** and **save()** are used, a mes… 37 | picker.PhotoViewPicker#save(option?: PhotoSaveOptions): Promise<Array<\string>> | Use **SaveButto… 38 | picker.PhotoViewPicker#save(option: PhotoSaveOptions, callback: AsyncCallback<Array<\string>>): v… 39 | picker.PhotoViewPicker#save(callback: AsyncCallback<Array<\string>>): void | Use **SaveButton** i…
|
/ohos5.0/docs/en/device-dev/quick-start/ |
H A D | quickstart-pkg-common-proxy.md | 13 2. Add the following proxy information to the file, save the file, and exit: 31 2. Add the following proxy information to the file, save the file, and exit: 38 3. Add the following content to the **.bashrc** file, save the file, and exit:
|
/ohos5.0/docs/en/application-dev/tools/ |
H A D | param-tool.md | 19 | save | Persistently saves the parameters to the workspace.| 71 ## save section 76 param save 79 
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | rosen_render_svg_line.cpp | 44 SkAutoCanvasRestore save(canvas, false); in Paint() local 49 RSAutoCanvasRestore save(*canvas, false); in Paint() local 71 SkAutoCanvasRestore save(canvas, true); in PaintDirectly() local 79 RSAutoCanvasRestore save(*canvas, true); in PaintDirectly() local
|
H A D | rosen_render_svg_circle.cpp | 47 SkAutoCanvasRestore save(canvas, false); in Paint() local 54 RSAutoCanvasRestore save(*canvas, false); in Paint() local 78 SkAutoCanvasRestore save(canvas, true); in PaintDirectly() local 88 RSAutoCanvasRestore save(*canvas, true); in PaintDirectly() local
|
H A D | rosen_render_svg_ellipse.cpp | 45 SkAutoCanvasRestore save(canvas, false); in Paint() local 50 RSAutoCanvasRestore save(*canvas, false); in Paint() local 72 SkAutoCanvasRestore save(canvas, true); in PaintDirectly() local 80 RSAutoCanvasRestore save(*canvas, true); in PaintDirectly() local
|
H A D | rosen_render_svg_rect.cpp | 44 SkAutoCanvasRestore save(canvas, false); in Paint() local 49 RSAutoCanvasRestore save(*canvas, false); in Paint() local 72 SkAutoCanvasRestore save(canvas, true); in PaintDirectly() local 80 RSAutoCanvasRestore save(*canvas, true); in PaintDirectly() local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | rosen_scroll_fade_painter.cpp | 47 canvas->save(); in Paint() 97 canvas->save(); in PaintSide() 103 canvas->save(); in PaintSide() 111 canvas->save(); in PaintSide() 119 canvas->save(); in PaintSide()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/ |
H A D | js-apis-data-distributedobject.md | 429 ### save<sup>9+</sup> 471 console.info("save callback"); 473 console.info("save version: " + result.version); 478 ### save<sup>9+</sup> 520 console.info("save callback"); 522 console.info("save version " + result.version); 523 console.info("save deviceId " + result.deviceId); 567 console.info("save callback"); 569 console.info("save version: " + result.version); 615 console.info("save callback"); [all …]
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | time-styles-shift.md | 75 this.ctx.save(); //将当前状态放入栈中,保存canvas的全部状态,通常在需要保存绘制状态时调用 93 this.ctx.save(); 111 this.ctx.save(); 219 this.ctx.save(); 236 this.ctx.save(); //将当前状态放入栈中,保存canvas的全部状态,通常在需要保存绘制状态时调用 249 this.ctx.save(); 262 this.ctx.save();
|