Interface Clock

  • All Known Implementing Classes:
    FakeClock, SystemClock

    @Deprecated
    public interface Clock
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    An interface through which system clocks can be read and HandlerWrappers created. The DEFAULT implementation must be used for all non-test cases.