InputCallbackDelegate
@RequiresCarApi(value = 2)
interface InputCallbackDelegate
A host-side delegate for sending InputCallback events to the car app.
Summary
Public functions |
|
|---|---|
Unit |
sendInputSubmitted(value: String, callback: OnDoneCallback)Notifies that the user has submitted the text. |
Unit |
sendInputTextChanged(value: String, callback: OnDoneCallback)Notifies that user input text has changed. |
Public functions
sendInputSubmitted
Added in 1.1.0
fun sendInputSubmitted(value: String, callback: OnDoneCallback): Unit
Notifies that the user has submitted the text.
| Parameters | |
|---|---|
value: String |
the text entered |
callback: OnDoneCallback |
the |
sendInputTextChanged
Added in 1.1.0
fun sendInputTextChanged(value: String, callback: OnDoneCallback): Unit
Notifies that user input text has changed.
| Parameters | |
|---|---|
value: String |
the text entered |
callback: OnDoneCallback |
the |