Loading Spinner
fun LoadingSpinner(modifier: Modifier = Modifier, color: Color = ProgressIndicatorDefaults.circularColor, strokeWidth: Dp = ProgressIndicatorDefaults.CircularStrokeWidth, delay: Duration = THEOplayerTheme.playerAnimations.loadingSpinnerDelay)
An indicator that shows whether the player is currently waiting for more data to resume playback.
Parameters
modifier
the Modifier to be applied to this indicator
color
color of this progress indicator
stroke Width
stroke width of this progress indicator
delay
delay for the progress indicator to become visible after the player starts buffering. In general, it's less jarring to not show the indicator for very short buffering periods.