Package com.castlabs.sdk.broadpeak

# Class BroadpeakSdkElementExtension

java.lang.Object
com.castlabs.sdk.broadpeak.BroadpeakSdkElementExtension

All Implemented Interfaces:
  `ExtensibleSdkElement.Extension`

public class BroadpeakSdkElementExtension extends Object implements ExtensibleSdkElement.Extension
Extension for Broadpeak SDK elements.

Used for managing Broadpeak sessions in the StandaloneThumbnailProvider

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BroadpeakSdkElementExtension()`
  Default constructor
  `BroadpeakSdkElementExtension(AnalyticsMetaData broadpeakMetadata)`
  Constructor with Broadpeak analytics metadata

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Class`
  `id()`
  `void`
  `onDestroy(ExtensibleSdkElement element)`
  `void`
  `onPrepare(ExtensibleSdkElement element)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BroadpeakSdkElementExtension

    public BroadpeakSdkElementExtension()
    Default constructor

  - ### BroadpeakSdkElementExtension

    public BroadpeakSdkElementExtension(@Nullable AnalyticsMetaData broadpeakMetadata)
    Constructor with Broadpeak analytics metadata
    Parameters:
      `broadpeakMetadata` - The analytics metadata to use for Broadpeak sessions

- ## Method Details

  - ### id

    @NonNull public Class id()
    Specified by:
      `id` in interface `ExtensibleSdkElement.Extension`

  - ### onPrepare

    public void onPrepare(@NonNull ExtensibleSdkElement element)
    Specified by:
      `onPrepare` in interface `ExtensibleSdkElement.Extension`

  - ### onDestroy

    public void onDestroy(@NonNull ExtensibleSdkElement element)
    Specified by:
      `onDestroy` in interface `ExtensibleSdkElement.Extension`