Package com.castlabs.android.player

# Class EventMetadataListener

java.lang.Object
com.castlabs.android.player.EventMetadataListener

All Implemented Interfaces:
  `MetadataListener`

public class EventMetadataListener extends Object implements MetadataListener
A listener for handling event metadata in the player. This class processes event messages and manages their lifecycle.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventMetadataListener(PlayerController playerController)`
  Creates a new EventMetadataListener.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onMetadata(List<com.google.android.exoplayer2.metadata.Metadata.Entry> metadata)`
  Callback method that will be triggered with newly available meta-data.

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

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

- ## Constructor Details

  - ### EventMetadataListener

    public EventMetadataListener(@NonNull PlayerController playerController)
    Creates a new EventMetadataListener.
    Parameters:
      `playerController` - The player controller to use for event handling

- ## Method Details

  - ### onMetadata

    public void onMetadata(List<com.google.android.exoplayer2.metadata.Metadata.Entry> metadata)
    Description copied from interface: `MetadataListener`
    Callback method that will be triggered with newly available meta-data.
    Specified by:
      `onMetadata` in interface `MetadataListener`
    Parameters:
      `metadata` - The meta-data