Foxit PDF RDK

Public Member Functions | List of all members
DrawPageTaskCallBack Class Reference

Defines a callback interface for handling the result of a DrawPageTask. More...

## Public Member Functions
| constructor ()
| Constructor for the DrawPageTaskCallBack class. Initializes a new instance of the DrawPageTaskCallBack.
| execute (task)
| Executes the callback with the result of a DrawPageTask. More...
| result (task)
| Handles the result of a DrawPageTask. More...

## Detailed Description

Defines a callback interface for handling the result of a DrawPageTask.

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()

DrawPageTaskCallBack.execute | ( | task |  | ) |

Executes the callback with the result of a DrawPageTask.

Parameters

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

## ◆ result()

DrawPageTaskCallBack.result | ( | task |  | ) |

Handles the result of a DrawPageTask.

Parameters

  {DrawPageTask} | task - The DrawPageTask whose result is being processed. This method is called specifically to handle the result of the task.