Share via


AccessibilityService.SoftKeyboardController.SetShowMode Method

Definition

Sets the soft keyboard show mode.

[Android.Runtime.Register("setShowMode", "(I)Z", "", ApiSince=24)]
public bool SetShowMode (Android.AccessibilityServices.AccessibilityServiceShowMode showMode);
[<Android.Runtime.Register("setShowMode", "(I)Z", "", ApiSince=24)>]
member this.SetShowMode : Android.AccessibilityServices.AccessibilityServiceShowMode -> bool

Parameters

showMode
AccessibilityServiceShowMode

the new show mode for the soft keyboard

Returns

true on success

Attributes

Remarks

Sets the soft keyboard show mode.

<strong>Note:</strong> If the service is not yet connected (e.g. AccessibilityService#onServiceConnected() has not yet been called) or the service has been disconnected, this method will have no effect and return false.

Java documentation for android.accessibilityservice.AccessibilityService.SoftKeyboardController.setShowMode(int).

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