OnFlingCallback

typealias OnFlingCallback = (velocityX: Float, velocityY: Float) -> Unit

Provides information about a fling touch event on the car screen.

See androidx.car.app.navigation.model.NavigationTemplate class description for more details on how to receive this callback.

This method may not be called in some car systems.

1st param velocityX the velocity of this fling measured in pixels per second along the x axis 2nd param velocityY the velocity of this fling measured in pixels per second along the y axis