on_audio_room 2.0.0-beta.1 on_audio_room: ^2.0.0-beta.1 copied to clipboard
Flutter Package used to create a room to storage audio sections [Favorites, Internal Playlists, Most Played, etc...].
[2.0.0-beta.1] - [07.26.2021] #
Features #
- Added
[ID]
,[TITLE]
,[DURATION]
and[DATE_ADDED]
to[RoomSortType]
. - Added
[RoomSortType]
to[query]
methods. - Added
[deleteRoomFile]
. This method will delete the file PERMANENTLY. - Added
[clearRoom]
. - Added
[updateRoom]
.
Fixes #
- Fixed wrong export. - Fixed #1
Documentation #
- Updated
README
documentation.
Changes #
- Added a better example using the
[Favorites]
method has example. - Added a better documentation to example.
- Now all
[entity/entities]
will be checked based on[RoomType]
. - Added internal
[RoomController]
to clean the package main method.
⚠ Important Changes #
- Now
[deleteAllFrom]
no longer delete all data from specific[Room]
, use[clearRoom]
instead. - Now
[queryAllFromFavorites]
are[queryFavorites]
. - Now
[queryAllFromLastPlayed]
are[queryLastPlayed]
. - Now
[queryAllFromMostPlayed]
are[queryMostPlayed]
. - Now
[resetAllDatabase]
are[clearAll]
.
@Deprecated
[setDatabaseName]
-[setDatabaseLimit]
-[getDatabaseName]
-[getDatabaseStatus]
- Use
[getRoomInfo]
instead.
- Use
[resetDatabaseName]
-[resetDatabaseLimit]
-[queryAllIdsFrom]
-
[2.0.0-beta.0] - [07.26.2021] #
[1.0.1+1] - [07.19.2021] #
[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
README
translation forpt-BR
[Portuguese]. - Updated
README
documentation. - Updated
README.pt-BR
documentation. - 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.