DocumentsContract.Root.FlagEmpty 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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_EMPTY
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。