Image
Image APIs let you select or take photos, preview images, and save local images to the system photo album.
| API | Description |
|---|---|
| sud.chooseImage | Select an image from the album or take a photo and obtain local temporary file paths |
| sud.previewImage | Preview a list of images |
| sud.saveImageToPhotosAlbum | Save 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.
