Interface SubscriptionListener


public interface SubscriptionListener
Callbacks for SessionManager. Either loaded or failed will be called once. If there is no response the request will fail after the configured request-timeout.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called if there is an error before the subcription has been loaded.
    void
    Called once all data has been successfully received by the Liberator.
    void
    status(int status)
    Called for subscription status messages
  • Method Details

    • loaded

      void loaded()
      Called once all data has been successfully received by the Liberator.
    • failed

      void failed()
      Called if there is an error before the subcription has been loaded.
    • status

      void status(int status)
      Called for subscription status messages
      Parameters:
      status - Set subscription status