Class ProgressEvent

    • Constructor Summary

      Constructors 
      Constructor Description
      ProgressEvent​(long progress, long total)
      This constructor is to be used by the native code.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getProgress()  
      long getTotal()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProgressEvent

        public ProgressEvent​(long progress,
                             long total)
        This constructor is to be used by the native code.
        Parameters:
        progress - The number of bytes already transferred.
        total - The total number of bytes, or -1 if not known.
    • Method Detail

      • getProgress

        public long getProgress()
        Returns:
        The number of bytes already transferred.
      • getTotal

        public long getTotal()
        Returns:
        The total number of bytes, or -1 if not known.