# OnContentRefreshDelegate

Artifact: [androidx.car.app:app](https://developer.android.com/jetpack/androidx/releases/car-app) [View Source](https://cs.android.com/search?q=file:androidx/car/app/model/OnContentRefreshDelegate.java+class:androidx.car.app.model.OnContentRefreshDelegate) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.2.0)

*** ** * ** ***


```
@CarProtocol
@RequiresCarApi(value = 5)
public interface OnContentRefreshDelegate
```

<br />

*** ** * ** ***

A host-side delegate for sending `https://developer.android.com/reference/androidx/car/app/model/OnContentRefreshListener` events to the car app.

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/car/app/model/OnContentRefreshDelegate#sendContentRefreshRequested(androidx.car.app.OnDoneCallback)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/car/app/OnDoneCallback callback)` Notifies that a content refresh has been requested by the user. |

## Public methods

### sendContentRefreshRequested

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.2.0)

```
abstract void sendContentRefreshRequested(@NonNull OnDoneCallback callback)
```

Notifies that a content refresh has been requested by the user.

| Parameters |
|---|---|
| `@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/car/app/OnDoneCallback callback` | the `https://developer.android.com/reference/androidx/car/app/OnDoneCallback` to trigger when the client finishes handling the event |