# ConversationCallbackDelegate

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/messaging/model/ConversationCallbackDelegate.java+class:androidx.car.app.messaging.model.ConversationCallbackDelegate) Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.4.0)

*** ** * ** ***


```
@CarProtocol
@RequiresCarApi(value = 7)
public interface ConversationCallbackDelegate
```

<br />

*** ** * ** ***

Used by the host to invoke `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallback` methods on the client

## Summary

| ### Public methods |
|---|---|
| `abstract void` | `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallbackDelegate#sendMarkAsRead(androidx.car.app.OnDoneCallback)(@https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/car/app/OnDoneCallback onDoneCallback)` Called from the host to invoke `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallback#onMarkAsRead()` on the client. |
| `abstract void` | `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallbackDelegate#sendTextReply(java.lang.String,androidx.car.app.OnDoneCallback)( @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/java/lang/String.html replyText, @https://jspecify.dev/docs/api/org/jspecify/annotations/NonNull.html https://developer.android.com/reference/androidx/car/app/OnDoneCallback onDoneCallback )` Called from the host to invoke `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallback#onTextReply(java.lang.String)` on the client. |

## Public methods

### sendMarkAsRead

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

```
abstract void sendMarkAsRead(@NonNull OnDoneCallback onDoneCallback)
```

Called from the host to invoke `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallback#onMarkAsRead()` on the client.

### sendTextReply

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

```
abstract void sendTextReply(
    @NonNull String replyText,
    @NonNull OnDoneCallback onDoneCallback
)
```

Called from the host to invoke `https://developer.android.com/reference/androidx/car/app/messaging/model/ConversationCallback#onTextReply(java.lang.String)` on the client.