Class InstallerActionEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      InstallerActionEvent​(java.lang.Object source, Context context, EventType type, boolean success, java.lang.String actionId, long duration)
      The constructor is called by the framework.
    • Constructor Detail

      • InstallerActionEvent

        public InstallerActionEvent​(java.lang.Object source,
                                    Context context,
                                    EventType type,
                                    boolean success,
                                    java.lang.String actionId,
                                    long duration)
        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
        actionId - the ID of the action
        duration - the duration in milliseconds
    • Method Detail

      • getActionId

        public java.lang.String getActionId()
        The ID of the action.
        Returns:
        the ID
      • getDuration

        public long getDuration()
        Returns the duration of the action in milliseconds
        Returns:
        the duration in milliseconds
      • 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