Android Guides | Samples

Android.OS.Environment.DirectoryMusic Property

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

Syntax

[Android.Runtime.Register("DIRECTORY_MUSIC")]
public static String DirectoryMusic { get; set; }

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 Environment.DirectoryPodcasts, Environment.DirectoryNotifications, Environment.DirectoryAlarms, and Environment.DirectoryRingtones as a series of directories to categories a particular audio file as more than one type.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8