setSignatureInterceptor abstract method

void setSignatureInterceptor(
  1. SignatureInterceptor? interceptor
)

Steps into the built-in electronic signature flow: before the signature creation UI is shown, and before a created signature is added to the document. See SignatureInterceptor for the two hooks.

Lets an app decide the stroke thickness and opacity a signature starts with, or where it goes, using UI of its own, while the built-in signing UI stays as it is. Pass null to remove a previously set interceptor.

Supported on Android and iOS. No-op on Web, which has no equivalent hook, and on controllers that don't support it.

onControllerReady: (controller) =>
    controller.setSignatureInterceptor(BrandedSignatures()),

Implementation

void setSignatureInterceptor(SignatureInterceptor? interceptor);