共用方式為


DocumentsContract.ActionDocumentSettings Field

Definition

Action of intent issued by DocumentsUI when user wishes to open/configure/manage a particular document in the provider application.

[Android.Runtime.Register("ACTION_DOCUMENT_SETTINGS", ApiSince=26)]
public const string ActionDocumentSettings;
[<Android.Runtime.Register("ACTION_DOCUMENT_SETTINGS", ApiSince=26)>]
val mutable ActionDocumentSettings : string

Field Value

Attributes

Remarks

Action of intent issued by DocumentsUI when user wishes to open/configure/manage a particular document in the provider application.

When issued, the intent will include the URI of the document as the intent data.

A provider wishing to provide support for this action should do two things. <li>Add an <intent-filter> matching this action. <li>When supplying information in DocumentsProvider#queryChildDocuments, include Document#FLAG_SUPPORTS_SETTINGS in the flags for each document that supports settings.

Java documentation for android.provider.DocumentsContract.ACTION_DOCUMENT_SETTINGS.

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