共用方式為


Settings.ActionManageAppAllFilesAccessPermission Field

Definition

Activity Action: Show screen for controlling if the app specified in the data URI of the intent can manage external storage.

[Android.Runtime.Register("ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION", ApiSince=30)]
public const string ActionManageAppAllFilesAccessPermission;
[<Android.Runtime.Register("ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION", ApiSince=30)>]
val mutable ActionManageAppAllFilesAccessPermission : string

Field Value

Attributes

Remarks

Activity Action: Show screen for controlling if the app specified in the data URI of the intent can manage external storage.

Launching the corresponding activity requires the permission Manifest.permission#MANAGE_EXTERNAL_STORAGE.

In some cases, a matching Activity may not exist, so ensure you safeguard against this.

Input: The Intent's data URI MUST specify the application package name whose ability of managing external storage you want to control. For example "package:com.my.app".

Output: Nothing.

Java documentation for android.provider.Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION.

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