Język

SoftKeyboardControllerEnableIme Enum

Definition

Identifies the result of a request to enable or disable an input method.

public enum SoftKeyboardControllerEnableIme
type SoftKeyboardControllerEnableIme = 
Inheritance
SoftKeyboardControllerEnableIme

Fields

Name Value Description
Success 0

Return value for setInputMethodEnabled(String,boolean). The action succeeded.

Android reference for android.accessibilityservice.AccessibilityService.SoftKeyboardController.ENABLE_IME_SUCCESS.

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.

FailByAdmin 1

Return value for setInputMethodEnabled(String,boolean). The action failed because the InputMethod is not permitted by device policy manager.

Android reference for android.accessibilityservice.AccessibilityService.SoftKeyboardController.ENABLE_IME_FAIL_BY_ADMIN.

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.

FailUnknown 2

Return value for setInputMethodEnabled(String,boolean). The action failed and the reason is unknown.

Android reference for android.accessibilityservice.AccessibilityService.SoftKeyboardController.ENABLE_IME_FAIL_UNKNOWN.

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.

Remarks

This .NET enum represents the Android ENABLE_IME_ result constants. The result distinguishes success, a device-policy restriction, and an unknown failure.

Android input-method enablement reference.

Applies to