Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AiProcessModelInstallListener

Interface to send callbacks to the module when the model download and install started.

api-version

2

user

Hierarchy

  • AiProcessModelInstallListener

Index

Methods

  • onProgress(modelId: string, progress: number): void
  • Invoked when the model download progress has been changed.

    api-version

    2

    user

    Parameters

    • modelId: string

      Target model id.

    • progress: number

      Download progress (0 ~ 100).

    Returns void

  • onStarted(modelId: string): void
  • Invoked when the model download started.

    api-version

    2

    user

    Parameters

    • modelId: string

      Target model id.

    Returns void

  • onSuccess(modelId: string): void
  • Invoked when the model download completed successfully.

    api-version

    2

    user

    Parameters

    • modelId: string

      Target model id.

    Returns void

Generated using TypeDoc