Add comment to developers about adding new system sound types (#62552)

flutter/flutter#62143
This commit is contained in:
Todd Volkert 2020-07-29 23:25:38 -07:00 committed by GitHub
parent 685590f872
commit 7ec2d360bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,9 @@ enum SystemSoundType {
/// web platform does not support playing any sounds, so this will be /// web platform does not support playing any sounds, so this will be
/// ignored on the web as well. /// ignored on the web as well.
alert, alert,
// If you add new values here, you also need to update the `SoundType` Java
// enum in `PlatformChannel.java`.
} }
/// Provides access to the library of short system specific sounds for common /// Provides access to the library of short system specific sounds for common