Bug 45713 - We should enumerate system sound integers and override AudioToolbox.SystemSound.PlaySystemSound
Summary: We should enumerate system sound integers and override AudioToolbox.SystemSou...
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.0 (iOS10)
Hardware: PC Mac OS
: --- enhancement
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2016-10-19 19:59 UTC by Larry O'Brien
Modified: 2016-10-23 23:18 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Larry O'Brien 2016-10-19 19:59:08 UTC
The page https://github.com/TUNER88/iOSSystemSoundsLibrary enumerates the system sounds in iOS 7. To play these sounds today requires code such as:

var mailReceivedId = 1003; 
var s = new SystemSound(mailReceivedId);
s.PlaySystemSound(); //Plays the sound asynchronously

It would be nice if we provided an enumeration of system sounds and an appropriate method (perhaps static) to play them.
Comment 1 Larry O'Brien 2016-10-19 21:07:03 UTC
Maybe not. It might be an App Store violation to use them: http://stackoverflow.com/questions/5867058/has-iphone-built-in-beep-sound-effect
Comment 2 Alex Soto [MSFT] 2016-10-23 23:18:30 UTC
I tried looking for more information and found this link


Which basically says we should not do that :) which I find a lil sad since I think it is a great idea :)