目录

Image

Starting from version 1078, the API prefix has been changed from hbs to qg. The original prefix hbs is still supported.

Definition

API

Description

qg.chooseImage(Object object)

Selects an image from the album or takes a photo.

qg.previewImage(Object object)

Previews an image in full mode in a new scenario.

qg.saveImageToPhotosAlbum(Object object)

Saves an image to the album. User authorization is required before calling this API.

qg.saveImageTemp(Object object)

Asynchronously saves binary image data as a local temporary image file.

qg.saveImageTempSync(Object object)

Saves the binary image data as a local temporary image file synchronously and returns the local temporary file path.

[h2]qg.chooseImage(Object object)

[h2]qg.previewImage(Object object)

[h2]qg.saveImageToPhotosAlbum(Object object)

[h2]qg.saveImageTemp(Object object)

[h2]qg.saveImageTempSync(Object object)