js-miniapp-sdk

Globals / GalleryBridgeProvider

Interface: GalleryBridgeProvider

Interfaces to communicate with the Host application for gallery-related operations.

Hierarchy

Implemented by

Index

Methods

Methods

getImageFromGallery

â–¸ getImageFromGallery(): Promise<GalleryFileResponse>

Defined in js-miniapp-sdk/src/modules/gallery-manager.ts:12

Requests an image from the host application’s gallery.

Returns: Promise<GalleryFileResponse>

A promise that resolves to a GalleryFileInfo object representing the image data.