OnContentRefreshDelegate


@CarProtocol
@RequiresCarApi(value = 5)
interface OnContentRefreshDelegate


A host-side delegate for sending androidx.car.app.model.OnContentRefreshListener events to the car app.

Summary

Public functions

Unit

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

Public functions

sendContentRefreshRequested

Added in 1.2.0
fun sendContentRefreshRequested(callback: OnDoneCallback): Unit

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

Parameters
callback: OnDoneCallback

the OnDoneCallback to trigger when the client finishes handling the event