# CircularProgressLayout.OnTimerFinishedListener

# CircularProgressLayout.OnTimerFinishedListener

Artifact:[androidx.wear:wear](https://developer.android.com/jetpack/androidx/releases/wear)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/widget/CircularProgressLayout.java+class:androidx.wear.widget.CircularProgressLayout.OnTimerFinishedListener)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/wear#1.1.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/wear/widget/CircularProgressLayout.OnTimerFinishedListener "View this page in Java")

<br />

```
interface CircularProgressLayout.OnTimerFinishedListener
```

<br />

*** ** * ** ***

Interface to implement for listening to[onTimerFinished](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout.OnTimerFinishedListener#onTimerFinished(androidx.wear.widget.CircularProgressLayout))event.

## Summary

|                             ### Public functions                              |
|-------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [onTimerFinished](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout.OnTimerFinishedListener#onTimerFinished(androidx.wear.widget.CircularProgressLayout))`(layout: `[CircularProgressLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout)`!)` Called when the timer started by[startTimer](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout#startTimer())method finishes. |

## Public functions

### onTimerFinished

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/wear#1.1.0)  

```
fun onTimerFinished(layout: CircularProgressLayout!): Unit
```

Called when the timer started by[startTimer](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout#startTimer())method finishes.  

|                                                            Parameters                                                             |
|-----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
| `layout: `[CircularProgressLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout)`!` | [CircularProgressLayout](https://developer.android.com/reference/kotlin/androidx/wear/widget/CircularProgressLayout)that calls this method. |