TrackSelector.InvalidationListener


public interface TrackSelector.InvalidationListener


Notified when selections previously made by a TrackSelector are no longer valid.

Summary

Public methods

default void

Called by a TrackSelector to indicate that selections it has previously made may no longer be valid due to the renderer capabilities change.

abstract void

Called by a TrackSelector to indicate that selections it has previously made are no longer valid.

Public methods

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 renderer

The renderer whose capabilities changed.

onTrackSelectionsInvalidated

abstract void onTrackSelectionsInvalidated()

Called by a TrackSelector to indicate that selections it has previously made are no longer valid. May be called from any thread.