共用方式為


RemoteInput.AllowedDataTypes Property

Definition

Get possible non-textual inputs that are accepted.

public System.Collections.Generic.ICollection<string>? AllowedDataTypes { [Android.Runtime.Register("getAllowedDataTypes", "()Ljava/util/Set;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getAllowedDataTypes", "()Ljava/util/Set;", "", ApiSince=26)>]
member this.AllowedDataTypes : System.Collections.Generic.ICollection<string>

Property Value

Attributes

Remarks

Get possible non-textual inputs that are accepted. This can be null if the input does not accept non-textual values. See Builder#setAllowDataType.

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

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