package com.castlabs.reactnative.player;

import androidx.annotation.NonNull;
import com.castlabs.reactnative.playerview.PlayerView;
import com.castlabs.reactnative.utils.JsonMap;

public interface PlayerExtension {

  void onPlayerViewCreated(@NonNull PlayerView playerView);
  void onPlayerViewWillDestroy(@NonNull PlayerView playerView);

  void onContentWillLoad(
    @NonNull JsonMap jsonPlayerConfiguration
  );

  void onContentLoaded(
    @NonNull JsonMap jsonPlayerConfiguration
  );

  void onPlayerWillRelease();

  void onPlayerWillDestroy();
}
