I am developing a game with background sounds using as3 - adobe air. I recently discovered that if the device is Silent, the music will keep playing, either on iOS or Android. I need to know is there any way that :
- Detects at launch if originally the silent switch is clicked (Silent mode enabled)
- Detects at any time if the silent switch is clicked
At any time, i need the app to be responsive to the user silence interaction. How can i do this? i've searched all over the internet but couldn't find a solution.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.