Share via


EditorInfo.WritingToolsEnabled Property

Definition

Returns true when an Editor has writing tools enabled. -or- Set false if Editor opts-out of writing tools, that enable IMEs to replace text with generative AI text.

public virtual bool WritingToolsEnabled { [Android.Runtime.Register("isWritingToolsEnabled", "()Z", "GetIsWritingToolsEnabledHandler", ApiSince=36)] get; [Android.Runtime.Register("setWritingToolsEnabled", "(Z)V", "GetSetWritingToolsEnabled_ZHandler", ApiSince=36)] set; }
[<get: Android.Runtime.Register("isWritingToolsEnabled", "()Z", "GetIsWritingToolsEnabledHandler", ApiSince=36)>]
[<set: Android.Runtime.Register("setWritingToolsEnabled", "(Z)V", "GetSetWritingToolsEnabled_ZHandler", ApiSince=36)>]
member this.WritingToolsEnabled : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns true when an Editor has writing tools enabled. true by default for all editors. Toolkits can optionally disable them where not relevant e.g. passwords, number input, etc.

Java documentation for android.view.inputmethod.EditorInfo.isWritingToolsEnabled().

Property setter documentation:

Set false if Editor opts-out of writing tools, that enable IMEs to replace text with generative AI text.

Java documentation for android.view.inputmethod.EditorInfo.setWritingToolsEnabled(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