SongSortType enum
Enumeration that define values used to sort songs.
Constructors
- SongSortType()
-
const
Values
- DEFAULT → const SongSortType
-
Returns the song using the platform specific ordering mechanism. In android platform will return song in alphabetical order using song
title
property as sort param - ALPHABETIC_COMPOSER → const SongSortType
-
Returns the songs sorted using
composer
property as sort parameter. - GREATER_DURATION → const SongSortType
-
Returns the songs sorted using
duration
property as sort parameter. In this case the songs with greatest duration in milliseconds will come first. - SMALLER_DURATION → const SongSortType
-
Returns the songs sorted using
duration
property as sort parameter. In this case the songs with smaller duration in milliseconds will come first. - RECENT_YEAR → const SongSortType
-
Returns the songs sorted using
year
property as sort parameter. In this case the songs that has more recent year will come first. - OLDEST_YEAR → const SongSortType
-
Returns the songs sorted using
year
property as sort parameter. In this case the songs that has more oldest year will come first. - ALPHABETIC_ARTIST → const SongSortType
-
Returns the songs alphabetically sorted using
artist
property as sort parameter. - ALPHABETIC_ALBUM → const SongSortType
-
Returns the songs alphabetically sorted using
album
property as sort parameter. - GREATER_TRACK_NUMBER → const SongSortType
-
Returns the songs sorted using
track
property as sort param. The songs with greater track number will come first. NOTE: In Android platformtrack
property number encodes both the track number and the disc number. For multi-disc sets, this number will be 1xxx for tracks on the first disc, 2xxx for tracks on the second disc, etc. - SMALLER_TRACK_NUMBER → const SongSortType
-
Returns the songs sorted using
track
property as sort param. The songs with smaller track number will come first. NOTE: In Android platformtrack
property number encodes both the track number and the disc number. For multi-disc sets, this number will be 1xxx for tracks on the first disc, 2xxx for tracks on the second disc, etc - DISPLAY_NAME → const SongSortType
-
Return the songs sorted using
display_name
property as sort param. Is a good option to be used when desired have the original album songs order. - CURRENT_IDs_ORDER → const SongSortType
-
Return the songs sorted by Ids using the same order that IDs appears in IDs query argument list.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
SongSortType> - A constant List of the values in this enum, in order of their declaration.