Interface LicenseChangedEvent


public interface LicenseChangedEvent
This event gets thrown whenever the host application license changes. This includes additions, updates, and removals.

This event will get fired once per license key involved in a change; in other words, if multiple products are licensed from a single newly-added license key, only a single event would be fired.

Since:
v3.0
  • Method Details

    • getPreviousLicense

      @Nullable BaseLicenseDetails getPreviousLicense()
      Returns the previously set license. Will return null when adding a license.
      Returns:
      the previously set license.
    • getNewLicense

      @Nullable BaseLicenseDetails getNewLicense()
      Returns the newly set license. Will return null when removing a license.
      Returns:
      the newly set license.