Partager via


AppSearchSchema.StringPropertyConfig.JoinableValueTypeQualifiedId Field

Definition

Caution

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

Content in this string property will be used as a qualified id to join documents.

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

Field Value

Value = 1
Attributes

Remarks

Content in this string property will be used as a qualified id to join documents.

<ul> <li>Qualified id: a unique identifier for a document, and this joinable value type is similar to primary and foreign key in relational database. See android.app.appsearch.util.DocumentIdUtil for more details. <li>Currently we only support single string joining, so it should only be used with PropertyConfig#CARDINALITY_OPTIONAL and PropertyConfig#CARDINALITY_REQUIRED. </ul>

Java documentation for android.app.appsearch.AppSearchSchema.StringPropertyConfig.JOINABLE_VALUE_TYPE_QUALIFIED_ID.

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