語言

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)

Java 文件 android.provider.DocumentsContract.Root.FLAG_EMPTY

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於