共用方式為


DocumentsContract.Root.FlagSupportsCreate 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 at least one directory under this root supports creating content.

[Android.Runtime.Register("FLAG_SUPPORTS_CREATE")]
[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 FlagSupportsCreate = 1;
[<Android.Runtime.Register("FLAG_SUPPORTS_CREATE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Provider.DocumentRootFlags enum directly instead of this field.", true)>]
val mutable FlagSupportsCreate : Android.Provider.DocumentRootFlags

Field Value

Value = 1
Attributes

Remarks

Flag indicating that at least one directory under this root supports creating content. Roots with this flag will be shown when an application interacts with Intent#ACTION_CREATE_DOCUMENT.

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

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