Class RecognizerWebSocketConfiguration

Implements

Constructors

Properties

Constructors

  • Parameters

    • Optionalconfiguration: {
          recognition?: {
              export?: {
                  image?: {
                      guides?: boolean;
                      viewport?: {
                          height?: (...) | (...);
                          width?: (...) | (...);
                          x?: (...) | (...);
                          y?: (...) | (...);
                      };
                  };
                  "image-resolution"?: number;
                  jiix?: {
                      "bounding-box"?: boolean;
                      "full-stroke-ids"?: boolean;
                      ids?: boolean;
                      strokes?: boolean;
                      style?: boolean;
                      text?: {
                          chars?: (...)
                          | (...)
                          | (...);
                          lines?: (...) | (...) | (...);
                          words?: (...) | (...) | (...);
                      };
                  };
                  mathml?: { flavor?: { name?: (...)
                  | (...) } };
              };
              gesture?: { enable?: boolean; ignoreGestureStrokes?: boolean };
              lang?: string;
              "raw-content"?: {
                  classification?: { types?: ((...) | (...) | (...))[] };
                  gestures?: (
                      | undefined
                      | "join"
                      | "surround"
                      | "underline"
                      | "insert"
                      | "scratch-out"
                      | "strike-through"
                  )[];
                  recognition?: { types?: ((...) | (...) | (...))[] };
                  "session-time"?: number;
                  text?: {
                      addLKText?: boolean;
                      customLexicon?: ((...) | (...))[];
                      customResources?: ((...) | (...))[];
                  };
              };
          };
          server?: {
              applicationKey?: string;
              hmacKey?: string;
              host?: string;
              scheme?: TScheme;
              version?: string;
              websocket?: {
                  autoReconnect?: boolean;
                  fileChunkSize?: number;
                  maxPingLostCount?: number;
                  maxRetryCount?: number;
                  pingDelay?: number;
                  pingEnabled?: boolean;
              };
          };
      }

    Returns RecognizerWebSocketConfiguration

Properties