Interface Subscription

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Subscription
Subscription holds a callback to remove an event listener from SolaPlatform.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Subscription
    Unsubscribe callback that does nothing for events that are not supported by the SolaPlatform.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Call to remove the event listener from the SolaPlatform.
  • Field Details

    • NOT_SUPPORTED

      static final Subscription NOT_SUPPORTED
      Unsubscribe callback that does nothing for events that are not supported by the SolaPlatform.
  • Method Details

    • unsubscribe

      void unsubscribe()
      Call to remove the event listener from the SolaPlatform.