语言

DocumentsContract.Document.FlagSupportsSubtreeSearch 字段

定义

注意

This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.

指示此文档的标志支持子树搜索。

[Android.Runtime.Register("FLAG_SUPPORTS_SUBTREE_SEARCH", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.", true)]
public const Android.Provider.DocumentContractFlags FlagSupportsSubtreeSearch = 262144;
[<Android.Runtime.Register("FLAG_SUPPORTS_SUBTREE_SEARCH", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.", true)>]
val mutable FlagSupportsSubtreeSearch : Android.Provider.DocumentContractFlags

字段值

Value = 262144
特性

注解

指示此文档的标志支持子树搜索。

设置后,此目录充当限制为其后代的搜索的有效起点。 仅当COLUMN_MIME_TYPE MIME_TYPE_DIR时,此标志才有效。

设置后,当用户在此文档中启动搜索时,系统将调用 DocumentsProvider.querySearchDocuments(String,String[],Bundle,CancellationSignal)。

Android 参考。android.provider.DocumentsContract.Document.FLAG_SUPPORTS_SUBTREE_SEARCH

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于