onPaused

inline fun MediaPlayer.onPaused(noinline action: () -> Unit)

See also

MediaPlayer.setOnPaused