Skip to content

//readium-navigator/org.readium.r2.navigator.media3.exoplayer/ExoPlayerEngineProvider

ExoPlayerEngineProvider

[androidJvm]\ class ExoPlayerEngineProvider : AudioEngineProvider<ExoPlayerSettings, ExoPlayerPreferences, ExoPlayerPreferencesEditor, ExoPlayerEngine.Error>

Constructors

ExoPlayerEngineProvider [androidJvm]
fun ExoPlayerEngineProvider()

Functions

Name Summary
computeSettings [androidJvm]
open override fun computeSettings(metadata: Metadata, preferences: ExoPlayerPreferences): ExoPlayerSettings
Creates settings for metadata and preferences.
createEmptyPreferences [androidJvm]
open override fun createEmptyPreferences(): ExoPlayerPreferences
Creates an empty set of preferences of this TTS engine provider.
createEngine [androidJvm]
open suspend override fun createEngine(publication: Publication): ExoPlayerEngine
createPreferenceEditor [androidJvm]
open override fun createPreferenceEditor(publication: Publication, initialPreferences: ExoPlayerPreferences): ExoPlayerPreferencesEditor
Creates a preferences editor for publication and initialPreferences.