0
Answered

Turn off narration?

cathy lane 11 ár síðan updated by Alin Alexandru Matei 11 ár síðan 0
I have a toggle button for the user to turn narration on and off. I have tried to apply stop narration to the toggle in action sets. I have also tried to apply counter value behaviour to the toggle and the narration on the page- no luck- I can't work it out. Could you help please?
thanks Cathy

Answer

Answer
Answered
Hi Cathy, here's a sample app on how to stop the narration:
337 - Stop Narration.zip

On the first page you will need a App Counter. The Read Me On/ Read Me Off elements will set the App Counter to 0 or 1. As for the narration audio you will need to have conditions on them. So for example: The Read Me On will set the Counter App to 0. The narration audio will need to have the Play Narration behavior with condition being: Counter App Value is 0. Then when the Read Me Off element will be clicked the App Counter Value will be set to 1. So the narration won't play anymore unless you tap the Read Me On element again.
Answer
Answered
Hi Cathy, here's a sample app on how to stop the narration:
337 - Stop Narration.zip

On the first page you will need a App Counter. The Read Me On/ Read Me Off elements will set the App Counter to 0 or 1. As for the narration audio you will need to have conditions on them. So for example: The Read Me On will set the Counter App to 0. The narration audio will need to have the Play Narration behavior with condition being: Counter App Value is 0. Then when the Read Me Off element will be clicked the App Counter Value will be set to 1. So the narration won't play anymore unless you tap the Read Me On element again.