Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
io.flutter.embedding.engine.systemchannels.PlatformChannel.SoundType Enum Reference

Public Member Functions

 SoundType (@NonNull String encodedName)
 

Static Public Member Functions

static SoundType fromValue (@NonNull String encodedName) throws NoSuchFieldException
 

Public Attributes

 CLICK =("SystemSoundType.click")
 
 ALERT =("SystemSoundType.alert")
 

Detailed Description

Types of sounds the Android OS can play on behalf of an application.

Definition at line 567 of file PlatformChannel.java.

Constructor & Destructor Documentation

◆ SoundType()

io.flutter.embedding.engine.systemchannels.PlatformChannel.SoundType.SoundType ( @NonNull String  encodedName)
inline

Definition at line 583 of file PlatformChannel.java.

583 {
584 this.encodedName = encodedName;
585 }

Member Function Documentation

◆ fromValue()

static SoundType io.flutter.embedding.engine.systemchannels.PlatformChannel.SoundType.fromValue ( @NonNull String  encodedName) throws NoSuchFieldException
inlinestatic

Definition at line 572 of file PlatformChannel.java.

572 {
573 for (SoundType soundType : SoundType.values()) {
574 if (soundType.encodedName.equals(encodedName)) {
575 return soundType;
576 }
577 }
578 throw new NoSuchFieldException("No such SoundType: " + encodedName);
579 }

Member Data Documentation

◆ ALERT

io.flutter.embedding.engine.systemchannels.PlatformChannel.SoundType.ALERT =("SystemSoundType.alert")

Definition at line 569 of file PlatformChannel.java.

◆ CLICK

io.flutter.embedding.engine.systemchannels.PlatformChannel.SoundType.CLICK =("SystemSoundType.click")

Definition at line 568 of file PlatformChannel.java.


The documentation for this enum was generated from the following file: