Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

AnimationClockTestRule

interface AnimationClockTestRule : TestRule
androidx.ui.test.AnimationClockTestRule

Summary

Public methods
open Unit
advanceClock(milliseconds: Long)

Convenience method for calling clock.advanceClock()

abstract Unit

Convenience method for calling clock.pauseClock()

open Unit

Convenience method for calling clock.resumeClock()

Properties
abstract TestAnimationClock

The ambient animation clock that is provided at the root of the composition tree.

abstract Boolean

Convenience property for calling clock.isPaused

Public methods

advanceClock

open fun advanceClock(milliseconds: Long): Unit

Convenience method for calling clock.advanceClock()

pauseClock

abstract fun pauseClock(): Unit

Convenience method for calling clock.pauseClock()

resumeClock

open fun resumeClock(): Unit

Convenience method for calling clock.resumeClock()

Properties

clock

abstract val clock: TestAnimationClock

The ambient animation clock that is provided at the root of the composition tree.

isPaused

abstract val isPaused: Boolean

Convenience property for calling clock.isPaused