Interface Media3Integration.SourceSelectCallback
-
- All Implemented Interfaces:
@Deprecated(message = "set TypedSource.playbackPipeline to MEDIA3 instead") public interface Media3Integration.SourceSelectCallback
A callback that decides which sources to play using the Media3Integration.
-
-
Method Summary
Modifier and Type Method Description abstract BooleancanPlaySource(TypedSource selectedSource, SourceDescription source)Returns whether the given source should be played using the Media3Integration. -
-
Method Detail
-
canPlaySource
abstract Boolean canPlaySource(TypedSource selectedSource, SourceDescription source)
Returns whether the given source should be played using the Media3Integration.
- Parameters:
selectedSource- The selected sourcesource- The original source description containing the selectedSource.- Returns:
True if the given source should be played using this Media3Integration, or false if it should be played with the standard playback pipeline.
-
-
-
-