Media
Media APIs support image selection, preview, and saving, as well as audio playback, recording, and video playback.
Image
Image APIs provide the following operations:
| API | Description |
|---|---|
| sud.chooseImage | Select an image from the album or take a photo |
| sud.previewImage | Preview a list of images |
| sud.saveImageToPhotosAlbum | Save a local image to the system photo album |
Audio, recording, and video
| Category | API | Description |
|---|---|---|
| Audio | sud.createInnerAudioContext | Create an audio instance and control playback |
| Audio | sud.setInnerAudioOption | Set audio playback options |
| Recording | sud.getRecorderManager | Get the recorder manager |
| Video | sud.createVideo | Create a video component |
