I’ve post detecting mute(silent mode or manner mode) issue at General Forum, but no answer.
I hope I get an answer here.
My app rejected because app still plays sound even when mute is on.
Mute toggle button is where wifi toggle button, bluetooth toggle button and more software toggle button.
To solve this problem, I think I need to know how to detect mute is on.
Any solution is thankful.
[blockcode]
local function detectMute(event)
If event.keyName == ‘mute’ and event.phase == ‘on’ then. – << what code should I put here to detect mute button state?
– successfully detect Mute button is on.
– disable sound.
end
return true
end
[/blockcode]
Please help me to pass the market test. [import]uid: 142592 topic_id: 30009 reply_id: 330009[/import]