Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.supernote.com/llms.txt

Use this file to discover all available pages before exploring further.

static cancelRecognize(): Promise<APIResponse<boolean>>;
Returns

Example

import { PluginCommAPI } from 'sn-plugin-lib';

export async function exampleCancelRecognize() {
  const res = await PluginCommAPI.cancelRecognize();
  if (!res.success) {
    throw new Error(res.error?.message ?? 'cancelRecognize call failed');
  }
  return res.result;
}