Skip to main content

Interface: ImageCheckerProvider

Interface to be implemented by image checker providers

Methods

check()

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

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

Defined in

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