Interface TrackSelector.InvalidationListener

  • Enclosing class:
    TrackSelector

    public static interface TrackSelector.InvalidationListener
    Notified when selections previously made by a TrackSelector are no longer valid.
    • Method Detail

      • onTrackSelectionsInvalidated

        void onTrackSelectionsInvalidated()
        Called by a TrackSelector to indicate that selections it has previously made are no longer valid. May be called from any thread.
      • onRendererCapabilitiesChanged

        default void onRendererCapabilitiesChanged​(Renderer renderer)
        Called by a TrackSelector to indicate that selections it has previously made may no longer be valid due to the renderer capabilities change. This method is called from playback thread.
        Parameters:
        renderer - The renderer whose capabilities changed.