Environment.IsExternalStorageManager Property

Definition

Returns whether the calling app has All Files Access on the primary shared/external storage media.

public static bool IsExternalStorageManager { [Android.Runtime.Register("isExternalStorageManager", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isExternalStorageManager", "()Z", "", ApiSince=30)>]
static member IsExternalStorageManager : bool

Property Value

Attributes

Remarks

Returns whether the calling app has All Files Access on the primary shared/external storage media.

Declaring the permission android.Manifest.permission#MANAGE_EXTERNAL_STORAGE isn't enough to gain the access.

To request access, use android.provider.Settings#ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION.

Java documentation for android.os.Environment.isExternalStorageManager().

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