Package 

Interface LcpLicense.RenewListener

  • All Implemented Interfaces:

    
    public interface LcpLicense.RenewListener
    
                        

    UX delegate for the loan renew LSD interaction.

    If your application fits Material Design guidelines, take a look at MaterialRenewListener for a default implementation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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
    • Constructor Detail

    • 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.