InputSignInMethod.OnInputCompletedListener

public static interface InputSignInMethod.OnInputCompletedListener

androidx.car.app.model.signin.InputSignInMethod.OnInputCompletedListener


A listener for handling text input completion event.

Summary

Public methods

abstract void onInputCompleted(String text)

Notifies when the user finished entering text in an input box.

Public methods

onInputCompleted

public abstract void onInputCompleted (String text)

Notifies when the user finished entering text in an input box.

This event is sent when the user finishes typing in the keyboard and pressed enter. If the user simply stops typing and closes the keyboard, this event will not be sent.

Parameters
text String: the text that was entered, or an empty string if no text was typed.