setProgress

Function

Common
fun SemanticsPropertyReceiver.setProgress(label: String? = null, action: ((Float) -> Boolean)?)

Action to set the current value of the progress bar.

Expected to be used in conjunction with progressBarRangeInfo.

Parameters

labelOptional label for this action.
actionAction to be performed when the SemanticsActions.SetProgress is called.