Back to Exoplayer

ActionSchedule.PlayerRunnable (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/testutil/ActionSchedule.PlayerRunnable.html

latest2.1 KB
Original Source

Package com.google.android.exoplayer2.testutil

Class ActionSchedule.PlayerRunnable

  • java.lang.Object

    • com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
  • All Implemented Interfaces:RunnableEnclosing class:ActionSchedule


public abstract static classActionSchedule.PlayerRunnableextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Runnable](https://developer.android.com/reference/java/lang/Runnable.html "class or interface in java.lang")

Provides a wrapper for a Runnable which has access to the player. Can be used with ActionSchedule.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. |

- 

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

- 

PlayerRunnable

public PlayerRunnable()

Method Detail

- 

run

public abstract void run​([ExoPlayer](../ExoPlayer.html "interface in com.google.android.exoplayer2")player)

Executes Runnable with reference to player.

- 

run

public final void run()

Specified by:run in interface Runnable