detect Scale Gestures
suspend fun detectScaleGestures(onScaleBegin: (StandardScaleGestureDetector) -> Unit = {}, onScaleEnd: (StandardScaleGestureDetector) -> Unit = {}, onScale: (StandardScaleGestureDetector) -> Unit = {})
Registers an OnScaleListener and suspends until cancellation.
Parameters
on Scale Begin
called when the scale gesture starts.
on Scale
called during the scale gesture.
on Scale End
called when the scale gesture ends.