Skip to main content

Function: createImageFilesProvider()

createImageFilesProvider(imageFilesCallbacks, metadata?): ImageFilesProvider

Beta

Register the extension as an Image Files provider.

As an image files provider, a provider needs to implement a specific interface, so the core application can call the provider with specific tasks when necessary.

Parameters

imageFilesCallbacks: ImageFilesCallbacks

an object implementing the ImageFilesProvider interface

metadata?: ImageFilesProviderMetadata

optional metadata attached to this provider

Returns

ImageFilesProvider

A disposable that unregisters this provider when being disposed

Defined in

packages/extension-api/src/extension-api.d.ts:860