Interface SessionAvailabilityListener

  • @Deprecated
    public interface SessionAvailabilityListener
    Deprecated. is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Listener of changes in the cast session availability.
    • Method Detail

      • onCastSessionAvailable

        void onCastSessionAvailable()
        Called when a cast session becomes available to the player.
      • onCastSessionUnavailable

        void onCastSessionUnavailable()
        Called when the cast session becomes unavailable.