@@ -20,49 +20,76 @@ class EnvironmentDirectory {
2020 /// Available for Android [4.1 to 9.0]
2121 ///
2222 /// Equivalent to [Environment.DIRECTORY_ALARMS]
23+ @Deprecated (
24+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
25+ )
2326 static const alarms = EnvironmentDirectory ._('$_kPrefix .Alarms' );
2427
2528 /// Available for Android [4.1 to 9]
2629 ///
2730 /// Equivalent to:
2831 /// - [Environment.DIRECTORY_DCIM] on Android [4.1 to 9]
32+ @Deprecated (
33+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
34+ )
2935 static const dcim = EnvironmentDirectory ._('$_kPrefix .DCIM' );
3036
3137 /// Available for Android [4.1 to 9]
3238 ///
3339 /// Equivalent to:
3440 /// - [Environment.DIRECTORY_DOWNLOADS] on Android [4.1 to 9]
41+ @Deprecated (
42+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
43+ )
3544 static const downloads = EnvironmentDirectory ._('$_kPrefix .Downloads' );
3645
3746 /// Available for Android [4.1 to 9]
3847 ///
3948 /// - [Environment.DIRECTORY_MOVIES] on Android [4.1 to 9]
49+ @Deprecated (
50+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
51+ )
4052 static const movies = EnvironmentDirectory ._('$_kPrefix .Movies' );
4153
4254 /// Available for Android [4.1 to 9]
4355 ///
4456 /// - [Environment.DIRECTORY_MUSIC] on Android [4.1 to 9]
57+ @Deprecated (
58+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
59+ )
4560 static const music = EnvironmentDirectory ._('$_kPrefix .Music' );
4661
4762 /// Available for Android [4.1 to 9]
4863 ///
4964 /// - [Environment.DIRECTORY_NOTIFICATIONS] on Android [4.1 to 9]
65+ @Deprecated (
66+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
67+ )
5068 static const notifications =
5169 EnvironmentDirectory ._('$_kPrefix .Notifications' );
5270
5371 /// Available for Android [4.1 to 9]
5472 ///
5573 /// - [Environment.DIRECTORY_PICTURES] on Android [4.1 to 9]
74+ @Deprecated (
75+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
76+ )
5677 static const pictures = EnvironmentDirectory ._('$_kPrefix .Pictures' );
5778
5879 /// Available for Android [4.1 to 9]
5980 ///
6081 /// - [Environment.DIRECTORY_PODCASTS] on Android [4.1 to 9]
82+ @Deprecated (
83+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
84+ )
6185 static const podcasts = EnvironmentDirectory ._('$_kPrefix .Podcasts' );
6286
6387 /// Available for Android [4.1 to 9]
6488 ///
6589 /// - [Environment.DIRECTORY_RINGTONES] on Android [4.1 to 9]
90+ @Deprecated (
91+ 'Android specific APIs will be removed soon in order to be replaced with a new set of original cross-platform APIs.' ,
92+ )
6693 static const ringtones = EnvironmentDirectory ._('$_kPrefix .Ringtones' );
6794
6895 @override
0 commit comments