AudiosOnlyType enum
Defines a specific type for query audios.
Note: The types below are specific for Android >= Q/29, so if you try call them below Android 10 will return ALL_TYPE
Types: IS_AUDIOBOOK, IS_PENDING, IS_FAVORITE, IS_DRM, IS_TRASHED and IS_DOWNLOAD.
Constructors
- AudiosOnlyType()
-
const
Values
- IS_ALARM → const AudiosOnlyType
-
Query only audios defined with IS_ALARM.
- IS_MUSIC → const AudiosOnlyType
-
Query only audios defined with IS_MUSIC.
- IS_NOTIFICATION → const AudiosOnlyType
-
Query only audios defined with IS_NOTIFICATION.
- IS_PODCAST → const AudiosOnlyType
-
Query only audios defined with IS_PODCAST.
- IS_RINGTONE → const AudiosOnlyType
-
Query only audios defined with IS_RINGTONE.
- IS_AUDIOBOOK → const AudiosOnlyType
-
Query only audios defined with IS_AUDIOBOOK.
Note: Works only in Android >= Q/29.
- IS_PENDING → const AudiosOnlyType
-
Query only audios defined with IS_PENDING.
Note: Works only in Android >= Q/29.
- IS_FAVORITE → const AudiosOnlyType
-
Query only audios defined with IS_FAVORITE.
Note: Works only in Android >= Q/29.
- IS_DRM → const AudiosOnlyType
-
Query only audios defined with IS_DRM.
Note: Works only in Android >= Q/29.
- IS_TRASHED → const AudiosOnlyType
-
Query only audios defined with IS_TRASHED.
Note: Works only in Android >= Q/29.
- IS_DOWNLOAD → const AudiosOnlyType
-
Query only audios defined with IS_DOWNLOAD.
Note: Works only in Android >= Q/29.
- ALL_TYPE → const AudiosOnlyType
-
Query only audios defined with ALL_TYPE.
It's a "DEFAULT".
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<
AudiosOnlyType> - A constant List of the values in this enum, in order of their declaration.