DocumentsContract.Root.FlagEmpty Field

Definition

Caution

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

Flag indicating that this root is currently empty.

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

Field Value

Value = 64
Attributes

Remarks

Flag indicating that this root is currently empty. This may be used to hide the root when opening documents, but the root will still be shown when creating documents and #FLAG_SUPPORTS_CREATE is also set. If the value of this flag changes, such as when a root becomes non-empty, you must send a content changed notification for DocumentsContract#buildRootsUri(String).

Java documentation for android.provider.DocumentsContract.Root.FLAG_EMPTY.

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