Package com.google.android.exoplayer2.ui
Class DefaultTrackNameProvider
- java.lang.Object
-
- com.google.android.exoplayer2.ui.DefaultTrackNameProvider
-
- All Implemented Interfaces:
TrackNameProvider
@Deprecated public class DefaultTrackNameProvider extends Object implements TrackNameProvider
Deprecated.com.google.android.exoplayer2 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.A defaultTrackNameProvider
.
-
-
Constructor Summary
Constructors Constructor Description DefaultTrackNameProvider(Resources resources)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getTrackName(Format format)
Deprecated.Returns a user readable track name for the givenFormat
.
-
-
-
Constructor Detail
-
DefaultTrackNameProvider
public DefaultTrackNameProvider(Resources resources)
Deprecated.- Parameters:
resources
- Resources from which to obtain strings.
-
-
Method Detail
-
getTrackName
public String getTrackName(Format format)
Deprecated.Description copied from interface:TrackNameProvider
Returns a user readable track name for the givenFormat
.- Specified by:
getTrackName
in interfaceTrackNameProvider
-
-