Skip to main content

IUseVirtualKeyboard

An interface in Root.Township, the global namespace.

Something that takes text from the in-game virtual keyboard, such as a text field.

Properties​

MemberWhat it is
int MaxCharactersLimit { get; }Most characters the field accepts.

Methods​

MemberWhat it is
void HandleKeyboardInput(string input)Called with the new input text.
void HandleKeyboardSubmit()Called when the keyboard's submit key is pressed.
bool IsShowingSecret()True if the text should be hidden, as for a password.
void LostFocus()Called when the keyboard stops targeting this field.
void Next()Moves to the next field, probably.
void Previous()Moves to the previous field, probably.

Used in​

Members of other types that take, return or hold a IUseVirtualKeyboard: