#[non_exhaustive]pub enum PublicAudioDir {
Music,
Alarms,
Audiobooks,
Notifications,
Podcasts,
Ringtones,
Recordings,
}
Expand description
Directory in which to place audios that are available to other applications and users.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Music
Standard directory in which to place movies that are available to the user.
ex: ~/Music
Alarms
Standard directory in which to place any audio files that should be in the list of alarms that the user can select (not as regular music).
ex: ~/Alarms
Audiobooks
Standard directory in which to place any audio files that should be in the list of audiobooks that the user can select (not as regular music).
This is not available on Android 9 (API level 28) and lower.
ex: ~/Audiobooks
Notifications
Standard directory in which to place any audio files that should be in the list of notifications that the user can select (not as regular music).
ex: ~/Notifications
Podcasts
Standard directory in which to place any audio files that should be in the list of podcasts that the user can select (not as regular music).
ex: ~/Podcasts
Ringtones
Standard directory in which to place any audio files that should be in the list of ringtones that the user can select (not as regular music).
ex: ~/Ringtones
Recordings
Standard directory in which to place any audio files that should be in the list of voice recordings recorded by voice recorder apps that the user can select (not as regular music).
This is not available on Android 11 (API level 30) and lower.
ex: ~/Recordings
Trait Implementations§
Source§impl Clone for PublicAudioDir
impl Clone for PublicAudioDir
Source§fn clone(&self) -> PublicAudioDir
fn clone(&self) -> PublicAudioDir
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more