Interface ExtensibleSdkElement.Extension

Enclosing class:
ExtensibleSdkElement

public static interface ExtensibleSdkElement.Extension
Interface for extensions that can be added to an ExtensibleSdkElement.
  • Method Details

    • id

      @NonNull Class id()
      Returns the class of the extension.
      Returns:
      the class of the extension
    • onPrepare

      void onPrepare(@NonNull ExtensibleSdkElement element)
      Called when the element is prepared.
      Parameters:
      element - the element that is prepared
    • onDestroy

      void onDestroy(@NonNull ExtensibleSdkElement element)
      Called when the element is destroyed.
      Parameters:
      element - the element that is destroyed