Skip to main content

Function: registerImageCheckerProvider()

registerImageCheckerProvider(imageCheckerProvider, metadata?): Disposable

Register the extension as an Image Checker.

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

Parameters

imageCheckerProvider: ImageCheckerProvider

an object implementing the ImageCheckerProvider interface

metadata?: ImageCheckerProviderMetadata

optional metadata attached to this provider

Returns

Disposable

A disposable that unregisters this provider when being disposed

Defined in

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