Share via


AppSearchSchema.PropertyConfig.CardinalityOptional Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.AppSearch.Cardinality enum directly instead of this field.

Zero or one value [0,1].

[Android.Runtime.Register("CARDINALITY_OPTIONAL", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.Cardinality enum directly instead of this field.", true)]
public const Android.App.AppSearch.Cardinality CardinalityOptional = 2;
[<Android.Runtime.Register("CARDINALITY_OPTIONAL", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.Cardinality enum directly instead of this field.", true)>]
val mutable CardinalityOptional : Android.App.AppSearch.Cardinality

Field Value

Value = 2
Attributes

Remarks

Java documentation for android.app.appsearch.AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL.

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