# Deprecated API

## Contents

- Methods
- Constructors

- Deprecated Methods
  Method
  Description
  com.castlabs.sdk.mux.MuxPlugin.createMetadata(boolean, String, CustomerData, CustomOptions, AnalyticsMetaData)
  Use `MuxPlugin.MetadataBuilder` instead.
  com.castlabs.sdk.mux.MuxPlugin.createMetadata(boolean, String, CustomerVideoData, CustomerPlayerData, CustomerViewData)
  Use `MuxPlugin.MetadataBuilder` instead.

- Deprecated Constructors
  Constructor
  Description
  com.castlabs.sdk.mux.MuxPlugin(String, boolean)
  Register the plugin with `MuxPlugin(String)` and configure background retention for each playback with `keepSessionInBackground(boolean)`. The value supplied to this constructor remains the fallback for metadata without an explicit retention setting.