Class InstallerFileEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      InstallerFileEvent​(java.lang.Object source, Context context, EventType type, boolean success, java.io.File destinationFile, long fileSize)
      The constructor is called by the framework.
      InstallerFileEvent​(java.lang.Object source, Context context, EventType type, java.io.File destinationFile, long fileSize)
      The constructor is called by the framework.
    • Constructor Detail

      • InstallerFileEvent

        public InstallerFileEvent​(java.lang.Object source,
                                  Context context,
                                  EventType type,
                                  boolean success,
                                  java.io.File destinationFile,
                                  long fileSize)
        The constructor is called by the framework.
        Parameters:
        source - the event source
        context - the context
        type - the event type.
        success - whether the operation associated with the event was successful
        destinationFile - the installed file
        fileSize - the size of the installed file
      • InstallerFileEvent

        public InstallerFileEvent​(java.lang.Object source,
                                  Context context,
                                  EventType type,
                                  java.io.File destinationFile,
                                  long fileSize)
        The constructor is called by the framework.
        Parameters:
        source - the event source
        context - the context
        type - the event type.
        destinationFile - the installed file
        fileSize - the size of the installed file
    • Method Detail

      • getDestinationFile

        public java.io.File getDestinationFile()
        Get the installed file location that is associated with this event.
        Returns:
        the file
      • getFileSize

        public long getFileSize()
        Get the size of the installed file in bytes.
        Returns:
        the size in bytes
      • getVerbose

        public java.lang.String getVerbose()
        Description copied from class: InstallerEvent
        Return a verbose description of this event.
        Overrides:
        getVerbose in class InstallerEvent
        Returns:
        the description