IInputConnection.ReportFullscreenMode(Boolean) Method

Definition

Called back when the connected IME switches between fullscreen and normal modes.

[Android.Runtime.Register("reportFullscreenMode", "(Z)Z", "GetReportFullscreenMode_ZHandler:Android.Views.InputMethods.IInputConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool ReportFullscreenMode (bool enabled);
[<Android.Runtime.Register("reportFullscreenMode", "(Z)Z", "GetReportFullscreenMode_ZHandler:Android.Views.InputMethods.IInputConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ReportFullscreenMode : bool -> bool

Parameters

enabled
Boolean

Returns

For editor authors, the return value will always be ignored. For IME authors, this always returns true on android.os.Build.VERSION_CODES#N_MR1 and prior devices and false on android.os.Build.VERSION_CODES#O and later devices.

Attributes

Remarks

Called back when the connected IME switches between fullscreen and normal modes.

<strong>Editor authors:</strong> There is a bug on android.os.Build.VERSION_CODES#O and later devices that this method is called back on the main thread even when #getHandler() is overridden. This bug is fixed in android.os.Build.VERSION_CODES#TIRAMISU.

<strong>IME authors:</strong> On android.os.Build.VERSION_CODES#O and later devices, input methods are no longer allowed to directly call this method at any time. To signal this event in the target application, input methods should always call InputMethodService#updateFullscreenMode() instead. This approach should work on API android.os.Build.VERSION_CODES#N_MR1 and prior devices.

Java documentation for android.view.inputmethod.InputConnection.reportFullscreenMode(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to