Share via


EditorInfo.PrivateImeOptions Property

Definition

A string supplying additional information options that are private to a particular IME implementation.

[Android.Runtime.Register("privateImeOptions")]
public string? PrivateImeOptions { get; set; }
[<Android.Runtime.Register("privateImeOptions")>]
member this.PrivateImeOptions : string with get, set

Property Value

Attributes

Remarks

A string supplying additional information options that are private to a particular IME implementation. The string must be scoped to a package owned by the implementation, to ensure there are no conflicts between implementations, but other than that you can put whatever you want in it to communicate with the IME. For example, you could have a string that supplies an argument like "com.example.myapp.SpecialMode=3". This field is can be filled in from the android.R.attr#privateImeOptions attribute of a TextView.

Java documentation for android.view.inputmethod.EditorInfo.privateImeOptions.

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