SoundEffect enum

Inheritance
Available extensions

Values

none → const SoundEffect

none will not sound anything when the notification arrives

Layrz API equivalent: NONE

beep → const SoundEffect

beep A short, sharp electronic sound, often associated with alerts or signals.

Layrz API equivalent: BEEP

mechanical → const SoundEffect

mechanical A sound resembling a machine or device, characterized by clicking, whirring, or other industrial tones.

Layrz API equivalent: MECHANICAL

peal → const SoundEffect

peal A clear, ringing sound, reminiscent of a bell or a chime.

Layrz API equivalent: PEAL

pop → const SoundEffect

pop A quick, soft burst-like sound, similar to a bubble popping.

Layrz API equivalent: POP

resonant → const SoundEffect

resonant A deep, echoing tone with a lasting vibration or reverberation.

Layrz API equivalent: RESONANT

tone → const SoundEffect

tone A steady, smooth sound with a consistent pitch, often used in signals or melodies.

Layrz API equivalent: TONE

custom → const SoundEffect

custom A custom sound effect that can be set by the user.

Layrz API equivalent: CUSTOM

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toJson returns the string representation of the enum value.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(String json) SoundEffect
fromJson returns the enum value from a string representation.

Constants

values → const List<SoundEffect>
A constant List of the values in this enum, in order of their declaration.