mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add ALERT SoundType enum value (flutter/engine#20139)
https://github.com/flutter/flutter/issues/62143
This commit is contained in:
parent
79f4738130
commit
752bbf32de
@ -430,7 +430,8 @@ public class PlatformChannel {
|
||||
|
||||
/** Types of sounds the Android OS can play on behalf of an application. */
|
||||
public enum SoundType {
|
||||
CLICK("SystemSoundType.click");
|
||||
CLICK("SystemSoundType.click"),
|
||||
ALERT("SystemSoundType.alert");
|
||||
|
||||
@NonNull
|
||||
static SoundType fromValue(@NonNull String encodedName) throws NoSuchFieldException {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user