SystemSoundType enum

A sound provided by the system.

These sounds may be played with SystemSound.play.

Inheritance

Values

click → const SystemSoundType

A short indication that a button was pressed.

alert → const SystemSoundType

A short system alert sound indicating the need for user attention.

Desktop platforms are the only platforms that support a system alert sound, so on mobile platforms (Android, iOS), this will be ignored. The web platform does not support playing any sounds, so this will be ignored on the web as well.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<SystemSoundType>
A constant List of the values in this enum, in order of their declaration.