Class WSRecognizer

Accessors

  • get mimeTypes(): string[]
  • Returns string[]

Constructors

Methods

  • Parameters

    Returns Promise<TExport>

  • Parameters

    Returns Promise<Model>

  • Parameters

    • code: number
    • reason: string

    Returns void

  • Parameters

    • evt: CloseEvent

    Returns void

  • Parameters

    Returns Promise<Model>

  • Returns void

  • Parameters

    • model: Model
    • Optional requestedMimeTypes: string[]

    Returns Promise<Model>

  • Parameters

    • model: Model
    • data: Blob
    • Optional mimeType: string

    Returns Promise<Model>

  • Parameters

    Returns Promise<TExport>

  • Returns void

  • Parameters

    • height: number
    • width: number

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns void

  • Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns Promise<void>

  • Parameters

    • message: MessageEvent<string>

    Returns void

  • Returns void

  • Parameters

    Returns Promise<Model>

  • Parameters

    • error: Error

    Returns void

  • Parameters

    Returns Promise<Model>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • penStyleClasses: string

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<Model>

  • Returns Promise<void>

Properties

#logger: Logger = ...
ackDeferred?: DeferredPromise<void>
addStrokeDeferred?: DeferredPromise<TExport>
clearDeferred?: DeferredPromise<TExport>
connected?: DeferredPromise<void>
convertDeferred?: DeferredPromise<TExport>
currentErrorCode?: string | number
currentPartId?: string
exportDeferred?: DeferredPromise<TExport>
importDeferred?: DeferredPromise<TExport>
importPointEventsDeferred?: DeferredPromise<TExport>
initialized?: DeferredPromise<void>
penStyle?: TPenStyle
penStyleClasses?: string
pingCount: number = 0
recognitionConfiguration: TRecognitionConfiguration
reconnectionCount: number = 0
redoDeferred?: DeferredPromise<TExport>
resizeDeferred?: DeferredPromise<void>
serverConfiguration: TServerConfiguration
sessionId?: string
socket: WebSocket
theme?: TTheme
undoDeferred?: DeferredPromise<TExport>
url: string
viewSizeHeight: number
viewSizeWidth: number
waitForIdleDeferred?: DeferredPromise<void>

Generated using TypeDoc