-
- All Implemented Interfaces:
-
org.readium.r2.navigator.preferences.PreferencesEditor
public final class ExoPlayerPreferencesEditor implements PreferencesEditor<ExoPlayerPreferences>
Editor for a set of ExoPlayerPreferences.
Use ExoPlayerPreferencesEditor to assist you in building a preferences user interface or modifying existing preferences. It includes rules for adjusting preferences, such as the supported values or ranges.
-
-
Field Summary
Fields Modifier and Type Field Description private final ExoPlayerPreferencespreferencesprivate final RangePreference<Double>pitchprivate final RangePreference<Double>speed
-
Constructor Summary
Constructors Constructor Description ExoPlayerPreferencesEditor(ExoPlayerPreferences initialPreferences, Metadata publicationMetadata, ExoPlayerDefaults defaults)
-
Method Summary
Modifier and Type Method Description ExoPlayerPreferencesgetPreferences()final RangePreference<Double>getPitch()final RangePreference<Double>getSpeed()Unitclear()-
-
Constructor Detail
-
ExoPlayerPreferencesEditor
ExoPlayerPreferencesEditor(ExoPlayerPreferences initialPreferences, Metadata publicationMetadata, ExoPlayerDefaults defaults)
-
-
Method Detail
-
getPreferences
ExoPlayerPreferences getPreferences()
-
-
-
-