Sdílet prostřednictvím


RemoteInput.IsDataOnly Property

Definition

Returns true if the input only accepts data, meaning #getAllowFreeFormInput is false, #getChoices is null or empty, and #getAllowedDataTypes is non-null and not empty.

public bool IsDataOnly { [Android.Runtime.Register("isDataOnly", "()Z", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isDataOnly", "()Z", "", ApiSince=26)>]
member this.IsDataOnly : bool

Property Value

Attributes

Remarks

Returns true if the input only accepts data, meaning #getAllowFreeFormInput is false, #getChoices is null or empty, and #getAllowedDataTypes is non-null and not empty.

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

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