setLockForMinutes

fun setLockForMinutes(ctx: Context, minutes: Long)(source)

Sets a lock on the app for the specified duration.

Parameters

ctx

Application context

minutes

Lock duration in milliseconds (not minutes despite the name)