fun showFor(seconds: Float, callback: () -> Unit = {}): Unit
fun showFor(seconds: Double, callback: () -> Unit = {}): Unit
Shows the highlight for a given duration.
seconds
- Duration to show this highlight for in seconds.
callback
- Called when the highlight is done showing.
fun showFor(duration: Long, unit: TimeUnit = TimeUnit.SECONDS, callback: () -> Unit = {}): Unit
Shows the highlight for a given duration.