Package 

Interface LcpLicense.RenewListener

    • Method Summary

      Modifier and Type Method Description
      abstract Date preferredEndDate(Date maximumDate) Called when the renew interaction allows to customize the end date programmatically.
      abstract Unit openWebPage(Url url) Called when the renew interaction uses an HTML web page.
      • Methods inherited from class java.lang.Object

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

      • preferredEndDate

         abstract Date preferredEndDate(Date maximumDate)

        Called when the renew interaction allows to customize the end date programmatically. You can prompt the user for the number of days to renew, for example.

        The returned date can't exceed maximumDate.

      • openWebPage

         abstract Unit openWebPage(Url url)

        Called when the renew interaction uses an HTML web page.

        You should present the URL in a Chrome Custom Tab and terminate the function when the web page is dismissed by the user.