Foxit PDF RDK
OpenDocumentTaskCallBack Class Reference

Defines a callback interface for handling the result of an OpenDocumentTask. More...

Public Member Functions

 constructor ()
 Constructor for the OpenDocumentTaskCallBack class. Initializes a new instance of the OpenDocumentTaskCallBack.
 
 execute (task)
 Executes the callback with the result of an OpenDocumentTask. More...
 
 result (task)
 Handles the result of a Task. More...
 

Detailed Description

Defines a callback interface for handling the result of an OpenDocumentTask.

Examples
/Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.

Member Function Documentation

◆ execute()

OpenDocumentTaskCallBack.execute ( task  )

Executes the callback with the result of an OpenDocumentTask.

Parameters
{OpenDocumentTask}task - The OpenDocumentTask whose result is being processed. This method is called to execute the callback when the task completes.

◆ result()

OpenDocumentTaskCallBack.result ( task  )

Handles the result of a Task.

Parameters
{Task}task - The Task whose result is being processed. This method is a more general callback used for handling the result of any task.