Package com.castlabs.android.thumbs

# Interface ExtensibleSdkElement.Extension

Enclosing class:
  `ExtensibleSdkElement`

public static interface ExtensibleSdkElement.Extension
Interface for extensions that can be added to an `ExtensibleSdkElement`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class`
  `id()`
  Returns the class of the extension.
  `void`
  `onDestroy(ExtensibleSdkElement element)`
  Called when the element is destroyed.
  `void`
  `onPrepare(ExtensibleSdkElement element)`
  Called when the element is prepared.

- ## 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