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