setVisibilityForTesting static method
Forces this library to report a specific value for isKeyboardVisible
for testing purposes.
KeyboardVisibility
will continue reporting isKeyboardVisible
until the value is changed again with this method.
Implementation
@visibleForTesting
static void setVisibilityForTesting(bool isKeyboardVisible) {
KeyboardVisibilityHandler.setVisibilityForTesting(isKeyboardVisible);
}