media/extensions/workmanager
ibaker b6bd57ab12 Replace most usages of @TargetApi with @RequiresApi
We keep @TargetApi where the method is a safe no-op on
older versions due to an in-line version check.

PiperOrigin-RevId: 292878727
2020-02-03 11:21:21 +00:00
..
src/main Replace most usages of @TargetApi with @RequiresApi 2020-02-03 11:21:21 +00:00
build.gradle Update cronet and workmanager dependencies 2019-09-05 10:48:45 +01:00
README.md Merge pull request #5617 from loki666:workmanager 2019-05-20 15:12:57 +01:00

ExoPlayer WorkManager extension

This extension provides a Scheduler implementation which uses WorkManager.

Getting the extension

The easiest way to use the extension is to add it as a gradle dependency:

implementation 'com.google.android.exoplayer:extension-workmanager:2.X.X'

where 2.X.X is the version, which must match the version of the ExoPlayer library being used.

Alternatively, you can clone the ExoPlayer repository and depend on the module locally. Instructions for doing this can be found in ExoPlayer's top level README.