detectScaleGestures

suspend fun detectScaleGestures(onScaleBegin: (StandardScaleGestureDetector) -> Unit = {}, onScaleEnd: (StandardScaleGestureDetector) -> Unit = {}, onScale: (StandardScaleGestureDetector) -> Unit = {})

Registers an OnScaleListener and suspends until cancellation.

Parameters

onScaleBegin

called when the scale gesture starts.

onScale

called during the scale gesture.

onScaleEnd

called when the scale gesture ends.