on_audio_room 1.0.1
on_audio_room: ^1.0.1 copied to clipboard
Flutter Plugin used to create a database for storage audio sections [Favorites, Internal Playlists, Most Played, etc...].
1.0.1 [07.17.2021] #
0.10.1 [06.18.2021] #
Features #
Dart
- Created
[OnTimerFormatter]and[OnEntityFormatter]. - Created a int extension(OnTimerFormatter) used to format the duration into Time.
- Created a String extension(OnEntityFormatter) used to format the string to
[PlaylistEntity].
Fixes #
Dart/Kotlin
- Fixed all problems with comminication between Dart <-> Kotlin.
Dart
- Changed method to check null values.
Documentation #
- Added better comments to all plugin.
- Created
READMEtranslation forpt-BR[Portuguese]. - Updated
READMEdocumentation. - Updated
README.pt-BRdocumentation. - Updated
pubspec.yaml.
0.10.0 [06.16.2021] #
Features #
Kotlin
- Added basics methods for futures
[Migrations]. - Added
[OnGlobalSource],[OnPlaylistSource]and[OnQuerySource].
Dart/Kotlin
- Added
[getDatabaseLimit],[resetDatabaseLimit],[setDatabaseLimit]. - Added
[AddAllTo]. - Added
[RoomType]. - Added
[FAVORITES],[LASTPLAYED],[MOSTPLAYED],[PLAYLIST_SONGS]to[RoomType].
Changes #
Dart/Kotlin
- All methods used to
[Add/Delete/DeleteAll/Check]are now[AddTo],[DeleteFrom],[DeleteAllFrom]and[CheckIn].
⚠ Important Changes #
Dart/Kotlin
- Removed:
[getFavoritesSize][getFavoritesTotalDuration][getLastPlayedSize][getLastPlayedTotalDuration][getMostPlayedSize][getMostPlayedTotalDuration]
- Removed:
[addToFavorites][deleteFromFavorites][deleteAllFromFavorites][checkInFavorites]
- Removed:
[addToLastPlayed][deleteFromLastPlayed][deleteAllFromLastPlayed][checkInLastPlayed]
- Removed:
[addToMostPlayed][deleteFromMostPlayed][deleteAllFromMostPlayed][checkInMostPlayed]
0.9.0 [06.11.2021] #
Features #
Kotlin
- Added
[getDatabaseName],[resetDatabaseName],[setDatabaseName]. - Added
[closeDatabase],[resetAllDatabase]. - Added
[getDatabaseStatus]. - Added:
[getFavoritesSize][getFavoritesTotalDuration][getLastPlayedSize][getLastPlayedTotalDuration][getMostPlayedSize][getMostPlayedTotalDuration]
0.6.0 [06.07.2021] #
Features #
Kotlin
- Created
[OnPlaylistDao]and[OnPlaylistEntity]. - Created
[OnPlaylistSongsDao]and[OnPlaylistSongsEntity].
Dart
- Created
[PlaylistEntity]and[PlaylistSongsEntity]. - Added
[createPlaylist],[deletePlaylist],[renamePlaylist],[checkPlaylist]and[queryAllPlaylist]. - Added:
[addToPlaylist][deleteAllFromPlaylist][deleteFromPlaylist][checkInPlaylist][queryAllFromPlaylist].
0.5.0 [06.02.2021] #
Features #
Dart
- Created
[SongEntity],[FavoritesEntity],[LastPlayedEntity]and[MostPlayedEntity]. - Added:
[addToFavorites][deleteFromFavorites][deleteAllFromFavorites][checkInFavorites][queryAllFromFavorites]
- Added:
[addToLastPlayed][deleteFromLastPlayed][deleteAllFromLastPlayed][checkInLastPlayed][queryAllFromLastPlayed]
- Added:
[addToMostPlayed][deleteFromMostPlayed][deleteAllFromMostPlayed][updateCount][checkInMostPlayed][queryAllFromMostPlayed]
Changes #
Kotlin
- Changed some function methods.
0.3.0 [05.25.2021] #
Features #
Kotlin
- Created
[OnLastPlayedDao]and[OnLastPlayedEntity]. - Created
[OnMostPlayedDao]and[OnMostPlayedEntity].
0.2.0 [05.24.2021] #
Features #
Kotlin
- Added
[Room]database and[Lifecyle]. - Created
[OnAudioDatabase], the main class to start using[Room]database. - Created
[OnSongEntity]. - Created
[OnFavoritesDao]and[OnFavoritesEntity]. - Added basic functions to database.