DocumentsContract.Root.FlagEmpty 字段

定义

注意

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

指示此根目录当前为空的标志。

[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

字段值

Value = 64
属性

注解

指示此根目录当前为空的标志。 这可用于在打开文档时隐藏根目录,但在创建文档 #FLAG_SUPPORTS_CREATE 时仍会显示根,并且也会设置根。 如果此标志的值发生更改,例如当根变为非空时,必须向其 DocumentsContract#buildRootsUri(String)发送内容更改通知。

适用于 . 的 android.provider.DocumentsContract.Root.FLAG_EMPTYJava 文档

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

适用于