OnContentRefreshDelegate
@CarProtocol
@RequiresCarApi(value = 5)
public interface OnContentRefreshDelegate
A host-side delegate for sending androidx.car.app.model.OnContentRefreshListener events to the car app.
Summary
Public methods |
|
|---|---|
abstract void |
sendContentRefreshRequested(@NonNull OnDoneCallback callback)Notifies that a content refresh has been requested by the user. |
Public methods
sendContentRefreshRequested
Added in 1.2.0
abstract void sendContentRefreshRequested(@NonNull OnDoneCallback callback)
Notifies that a content refresh has been requested by the user.
| Parameters | |
|---|---|
@NonNull OnDoneCallback callback |
the |