RemoteInput.AllowFreeFormInput Property

Definition

Get whether or not users can provide an arbitrary value for input.

public bool AllowFreeFormInput { [Android.Runtime.Register("getAllowFreeFormInput", "()Z", "")] get; }
[<get: Android.Runtime.Register("getAllowFreeFormInput", "()Z", "")>]
member this.AllowFreeFormInput : bool

Property Value

Attributes

Remarks

Get whether or not users can provide an arbitrary value for input. If you set this to false, users must select one of the choices in #getChoices. An IllegalArgumentException is thrown if you set this to false and #getChoices returns null or empty.

Java documentation for android.app.RemoteInput.getAllowFreeFormInput().

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