AudioAttributesUsage enum
The available audio attributes usages for an Android service.
Values
- alarm → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_ALARM.const AudioAttributesUsage(4) - assistanceAccessibility → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY.const AudioAttributesUsage(11) -
Corresponds to
AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE.const AudioAttributesUsage(12) - assistanceSonification → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_ASSISTANCE_SONIFICATION.const AudioAttributesUsage(13) - assistant → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_ASSISTANT.const AudioAttributesUsage(16) - game → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_GAME.const AudioAttributesUsage(14) - media → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_MEDIA.const AudioAttributesUsage(1) - notification → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_NOTIFICATION.const AudioAttributesUsage(5) - notificationEvent → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_NOTIFICATION_EVENT.const AudioAttributesUsage(10) - notificationRingtone → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_NOTIFICATION_RINGTONE.const AudioAttributesUsage(6) - unknown → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_UNKNOWN.const AudioAttributesUsage(0) - voiceCommunication → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_VOICE_COMMUNICATION.const AudioAttributesUsage(2) - voiceCommunicationSignalling → const AudioAttributesUsage
-
Corresponds to
AudioAttributes.USAGE_VOICE_COMMUNICATION_SIGNALLING.const AudioAttributesUsage(3)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
The integer representation of AudioAttributesUsage.
final
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<
AudioAttributesUsage> - A constant List of the values in this enum, in order of their declaration.