advanceEventTime

Function

Common

Deprecated Replaced by TouchInjectionScope. Use performTouchInput instead of performGesture

@ExperimentalTestApi
fun GestureScope.advanceEventTime(durationMillis: Long) =
    delegateScope.touch { advanceEventTime(durationMillis) }

Adds the given durationMillis to the current event time, delaying the next event by that time. Only valid when a gesture has already been started, or when a finished gesture is resumed.