Skip to main content

Interface: ImageCheckerProvider

Defined in: packages/extension-api/src/extension-api.d.ts:5030

Interface to be implemented by image checker providers

Methods​

check()​

check(image, token?): ProviderResult<ImageChecks>

Defined in: packages/extension-api/src/extension-api.d.ts:5037

Parameters​

image​

ImageInfo

Info about the image to analyze

token?​

CancellationToken

a cancellation token the function can use to be informed when the caller asks for the operation to be cancelled

Returns​

ProviderResult<ImageChecks>

the complete result of the analyze, either synchronously of through a Promise