There is no public API that allows you to succeed with making a DND check.
As always, if this is something you deem critical to your app, feel free to make an enhancement request via the bug report link below, adding your report # to your thread for reference.
Tags: confirmation, echo, in, counting
Thank you KMT.
I have submitted the request: 49296311
I appreciate your help.
I’m posting a link to this thread, just for my own records.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"