Skip to content

Image ​

Image APIs let you select or take photos, preview images, and save local images to the system photo album.

APIDescription
sud.chooseImageSelect an image from the album or take a photo and obtain local temporary file paths
sud.previewImagePreview a list of images
sud.saveImageToPhotosAlbumSave a local image to the system photo album

These APIs report results through success, fail, and complete callbacks. Confirm that the current runtime provides the required image capability. Album access, camera availability, and permissions can affect the result.