Språk

DocumentsContract.Document.FlagSupportsSubtreeSearch Field

Definition

Caution

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

Flag indicating this document supports subtree searching.

[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

Field Value

Value = 262144
Attributes

Remarks

Flag indicating this document supports subtree searching.

When set, this directory acts as a valid starting point for searches restricted to its descendants. This flag is only valid when COLUMN_MIME_TYPE is MIME_TYPE_DIR.

When set, the system will call DocumentsProvider.querySearchDocuments(String,String[],Bundle,CancellationSignal) when a user initiates a search within this document.

Android reference for android.provider.DocumentsContract.Document.FLAG_SUPPORTS_SUBTREE_SEARCH.

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