onAppScrolled

fun onAppScrolled(context: Context, pkg: String)(source)

Called when scrolling is detected in a monitored app.

Handles session tracking, lock checking, reentry detection, and schedules warnings/locks based on scrolling duration.

Parameters

context

Application context

pkg

Package name of the app being scrolled