This version of Unity is unsupported.
Method group is Obsolete

TouchScreenKeyboard.Android.closeKeyboardOnOutsideTap

Obsolete TouchScreenKeyboard.Android.closeKeyboardOnOutsideTap is obsolete. Use TouchScreenKeyboard.Android.consumesOutsideTouches instead.
Upgrade to consumesOutsideTouches
public static bool closeKeyboardOnOutsideTap;

Description

Enable legacy on-screen keyboard hiding on Android.

When true, Unity closes the on-screen keyboard if you tap outside the visible keyboard area. When false, Unity keeps the on-screen keyboard open if you tap outside the visible keyboard area. This means that you can interact with Unity while the keyboard remains on-screen.

The default value is false.