setProgress

fun setProgress(progress: Float): Boolean

Sets the position by percentage

Return

true if the position was set successfully, false otherwise

Parameters

progress

The percentage between 0.0 and 1.0