
**Inheritance:**
java.lang.Object
```
public class AsyncTaskProgress
```

Provides progress info for the asynchronous task.
## Constructors

| Constructor | Description |
| --- | --- |
| [AsyncTaskProgress(int progressPercentage, long duration)](#AsyncTaskProgress-int-long-) | Initializes a new instance of the [AsyncTaskProgress](../../com.aspose.psd.asynctask/asynctaskprogress) class. |
## Fields

| Field | Description |
| --- | --- |
| [Duration](#Duration) | The duration of the asynchronous task. |
| [ProgressPercentage](#ProgressPercentage) | The progress of the asynchronous task, in percent. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [newAsyncTaskProgress_internalized(int progressPercentage, System.TimeSpan duration)](#newAsyncTaskProgress-internalized-int-com.aspose.ms.System.TimeSpan-) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### AsyncTaskProgress(int progressPercentage, long duration) {#AsyncTaskProgress-int-long-}
```
public AsyncTaskProgress(int progressPercentage, long duration)
```


Initializes a new instance of the [AsyncTaskProgress](../../com.aspose.psd.asynctask/asynctaskprogress) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| progressPercentage | int | The progress percentage. |
| duration | long | The duration. |

### Duration {#Duration}
```
public final System.TimeSpan Duration
```


The duration of the asynchronous task.

### ProgressPercentage {#ProgressPercentage}
```
public final int ProgressPercentage
```


The progress of the asynchronous task, in percent.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### newAsyncTaskProgress_internalized(int progressPercentage, System.TimeSpan duration) {#newAsyncTaskProgress-internalized-int-com.aspose.ms.System.TimeSpan-}
```
public static AsyncTaskProgress newAsyncTaskProgress_internalized(int progressPercentage, System.TimeSpan duration)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| progressPercentage | int |  |
| duration | com.aspose.ms.System.TimeSpan |  |

**Returns:**
[AsyncTaskProgress](../../com.aspose.psd.asynctask/asynctaskprogress)
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

