Språk

InputMethodSubtype.InputMethodSubtypeBuilder.SetIsAuxiliary(Boolean) Method

Definition

[Android.Runtime.Register("setIsAuxiliary", "(Z)Landroid/view/inputmethod/InputMethodSubtype$InputMethodSubtypeBuilder;", "GetSetIsAuxiliary_ZHandler")]
public virtual Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder? SetIsAuxiliary(bool isAuxiliary);
[<Android.Runtime.Register("setIsAuxiliary", "(Z)Landroid/view/inputmethod/InputMethodSubtype$InputMethodSubtypeBuilder;", "GetSetIsAuxiliary_ZHandler")>]
abstract member SetIsAuxiliary : bool -> Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder
override this.SetIsAuxiliary : bool -> Android.Views.InputMethods.InputMethodSubtype.InputMethodSubtypeBuilder

Parameters

isAuxiliary
Boolean

should true when this subtype is auxiliary, false otherwise. An auxiliary subtype has the following differences with a regular subtype: - An auxiliary subtype cannot be chosen as the default IME in Settings. - The framework will never switch to this subtype through InputMethodManager.switchToLastInputMethod(IBinder). Note that the subtype will still be available in the IME switcher. The intent is to allow for IMEs to specify they are meant to be invoked temporarily in a one-shot way, and to return to the previous IME once finished (e.g. voice input).

Returns

Attributes

Remarks

Android reference for android.view.inputmethod.InputMethodSubtype.InputMethodSubtypeBuilder.setIsAuxiliary.

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