Partager via


Environment.DirectoryMusic Property

Definition

Standard directory in which to place any audio files that should be in the regular list of music for the user.

[Android.Runtime.Register("DIRECTORY_MUSIC")]
public static string? DirectoryMusic { get; set; }
[<Android.Runtime.Register("DIRECTORY_MUSIC")>]
static member DirectoryMusic : string with get, set

Property Value

Attributes

Remarks

Standard directory in which to place any audio files that should be in the regular list of music for the user. This may be combined with #DIRECTORY_AUDIOBOOKS, #DIRECTORY_PODCASTS, #DIRECTORY_NOTIFICATIONS, #DIRECTORY_ALARMS, #DIRECTORY_RINGTONES, and #DIRECTORY_RECORDINGS as a series of directories to categorize a particular audio file as more than one type.

Java documentation for android.os.Environment.DIRECTORY_MUSIC.

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