Stay organized with collections Save and categorize content based on your preferences.

DefaultTrackNameProvider

@UnstableApi
public class DefaultTrackNameProvider implements TrackNameProvider


A default TrackNameProvider.

Summary

Public constructors

Public methods

String

Returns a user readable track name for the given Format.

Public constructors

DefaultTrackNameProvider

public DefaultTrackNameProvider(Resources resources)
Parameters
Resources resources

Resources from which to obtain strings.

Public methods

getTrackName

public String getTrackName(Format format)

Returns a user readable track name for the given Format.