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
an object implementing the ImageCheckerProvider
interface
metadata?
optional metadata attached to this provider
Returns
A disposable that unregisters this provider when being disposed