Share via


MediaStore.VolumeExternalPrimary Field

Definition

Specific volume name that represents the primary external storage device at Environment#getExternalStorageDirectory().

[Android.Runtime.Register("VOLUME_EXTERNAL_PRIMARY", ApiSince=29)]
public const string VolumeExternalPrimary;
[<Android.Runtime.Register("VOLUME_EXTERNAL_PRIMARY", ApiSince=29)>]
val mutable VolumeExternalPrimary : string

Field Value

Attributes

Remarks

Specific volume name that represents the primary external storage device at Environment#getExternalStorageDirectory().

This volume may not always be available, such as when the user has ejected the device. You can find a list of all specific volume names using #getExternalVolumeNames(Context).

Java documentation for android.provider.MediaStore.VOLUME_EXTERNAL_PRIMARY.

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