Class Preloader.ProgressNotification

    • Constructor Detail

      • ProgressNotification

        public ProgressNotification​(double progress)
        Constructs a progress notification.
        Parameters:
        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.
    • Method Detail

      • getProgress

        public double getProgress()
        Retrieves the progress for this notification. Progress is in the range of 0 to 1, or is negative for indeterminate progress.
        Returns:
        the progress