Class ActionSchedule.PlayerRunnable
- java.lang.Object
-
- com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
-
- All Implemented Interfaces:
Runnable
- Enclosing class:
- ActionSchedule
public abstract static class ActionSchedule.PlayerRunnable extends Object implements Runnable
Provides a wrapper for aRunnable
which has access to the player. Can be used withActionSchedule.Builder.executeRunnable(Runnable)
.
-
-
Constructor Summary
Constructors Constructor Description PlayerRunnable()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
run()
abstract void
run(ExoPlayer player)
Executes Runnable with reference to player.
-