DocumentsContract.Document.FlagSupportsWrite 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.
標記表示文件支持寫作。
[Android.Runtime.Register("FLAG_SUPPORTS_WRITE")]
[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 FlagSupportsWrite = 2;
[<Android.Runtime.Register("FLAG_SUPPORTS_WRITE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Provider.DocumentContractFlags enum directly instead of this field.", true)>]
val mutable FlagSupportsWrite : Android.Provider.DocumentContractFlags
欄位值
Value = 2- 屬性
備註
標記表示文件支持寫作。
當文件以 開啟 Intent#ACTION_OPEN_DOCUMENT時,呼叫應用程式同時獲得 Intent#FLAG_GRANT_READ_URI_PERMISSION 和 Intent#FLAG_GRANT_WRITE_URI_PERMISSION。 然而,文件的實際可寫性可能會隨時間改變,例如因遠端存取的變更。 此旗標表示文件客戶端可以預期 ContentResolver#openOutputStream(Uri) 成功。
的 android.provider.DocumentsContract.Document.FLAG_SUPPORTS_WRITEJava 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。