public static class Preloader.ProgressNotification extends java.lang.Object implements Preloader.PreloaderNotification
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
details |
private double |
progress |
Modifier | Constructor and Description |
---|---|
|
ProgressNotification(double progress)
Constructs a progress notification.
|
private |
ProgressNotification(double progress,
java.lang.String details)
Constructs a progress notification.
|
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
getDetails()
Retrieves the details of the progress notification
|
double |
getProgress()
Retrieves the progress for this notification.
|
public ProgressNotification(double progress)
progress
- a value indicating the progress.
A negative value for progress indicates that the progress is
indeterminate. A value between 0 and 1 indicates the amount
of progress. Any value greater than 1 is interpreted as 1.private ProgressNotification(double progress, java.lang.String details)
progress
- a value indicating the progress.
A negative value for progress indicates that the progress is
indeterminate. A value between 0 and 1 indicates the amount
of progress. Any value greater than 1 is interpreted as 1.details
- the details of this notificationpublic double getProgress()
private java.lang.String getDetails()