Would like API to know if user is in Do Not Disturb mode

Originator:chris
Number:rdar://20075916 Date Originated:3/6/2015
Status:Open Resolved:
Product:OS X SDK Product Version:10.10
Classification:Enhancement Reproducible:N/A
 
Although Do Not Disturb does a great job of silencing sounds attached to notifications it does not stop sounds played in other ways. Our app plays several sounds outside of notifications via NSSound. We'd like to know if DND is enabled so that we can not play those sounds. Currently there is no API for querying the state of DND.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!