Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes the arguments for the DownloadOfflineResources command.

Hierarchy

  • DownloadOfflineResourcesArgs

Index

Properties

Optional activateOnSuccess

activateOnSuccess: boolean

Whether to activate the offline resources immediately upon completion. Default is false. Errors from activation will go to the errorCallback if it is defined.

Optional errorCallback

errorCallback: function

An optional callback on error.

param

The error of the operation.

Type declaration

    • (error: Error): void
    • Parameters

      • error: Error

      Returns void

id

id: string

The ID to give to the offline resources downloaded.

Optional successCallback

successCallback: function

An optional callback for success.

Type declaration

    • (): void
    • Returns void