RemoteInput.Builder.SetAllowFreeFormInput(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the user can provide arbitrary text values.
[Android.Runtime.Register("setAllowFreeFormInput", "(Z)Landroid/app/RemoteInput$Builder;", "")]
public Android.App.RemoteInput.Builder SetAllowFreeFormInput(bool allowFreeFormTextInput);
[<Android.Runtime.Register("setAllowFreeFormInput", "(Z)Landroid/app/RemoteInput$Builder;", "")>]
member this.SetAllowFreeFormInput : bool -> Android.App.RemoteInput.Builder
Parameters
- allowFreeFormTextInput
- Boolean
boolean: The default is true. If you specify false, you must either provide a non-null and non-empty array to setChoices(CharSequence), or enable a data result in setAllowDataType. Otherwise an IllegalArgumentException is thrown
Returns
this object for method chaining. This value cannot be null.
- Attributes
Remarks
Specifies whether the user can provide arbitrary text values.
Android reference for android.app.RemoteInput.Builder.setAllowFreeFormInput.
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.