Compartilhar via


StorageManager.ActionManageStorage Field

Definition

Activity Action: Allows the user to manage their storage.

[Android.Runtime.Register("ACTION_MANAGE_STORAGE", ApiSince=25)]
public const string ActionManageStorage;
[<Android.Runtime.Register("ACTION_MANAGE_STORAGE", ApiSince=25)>]
val mutable ActionManageStorage : string

Field Value

Attributes

Remarks

Activity Action: Allows the user to manage their storage. This activity provides the ability to free up space on the device by deleting data such as apps.

If the sending application has a specific storage device or allocation size in mind, they can optionally define #EXTRA_UUID or #EXTRA_REQUESTED_BYTES, respectively.

This intent should be launched using Activity#startActivityForResult(Intent, int) so that the user knows which app is requesting the storage space. The returned result will be Activity#RESULT_OK if the requested space was made available, or Activity#RESULT_CANCELED otherwise.

Java documentation for android.os.storage.StorageManager.ACTION_MANAGE_STORAGE.

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