Package com.castlabs.android.player

# Interface EventMessagesListener

public interface EventMessagesListener
Listener for event messages changes.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onEventsChanged(PlayerConfig config, Collection<EventMessage> added, Collection<EventMessage> removed, Collection<EventMessage> updated)`
  Called when event messages have changed.

- ## Method Details

  - ### onEventsChanged

    void onEventsChanged(@NonNull PlayerConfig config, @NonNull Collection<EventMessage> added, @NonNull Collection<EventMessage> removed, @NonNull Collection<EventMessage> updated)
    Called when event messages have changed.
    Parameters:
      `config` - The player configuration for which the Events are Updated. In case you're using a `SingleControllerPlaylist` this callback will be called for each player configuration which has changed.
      `added` - The added event messages.
      `removed` - The removed event messages.
      `updated` - The updated event messages.