0
Answered

How to Stop Narration on all pages?

Charmaine Anderson 11 years ago updated by Alin Alexandru Matei 11 years ago 0
I would like to be able to allow user to Stop the Narration audio on all my pages using a "Read to Myself" button on the home screen.  Is there a way to do this?

I tried using the pause narration option, but that only woks on the the current screen.
I don't want them to have to keep clicking a pause audio button on every page as that would be annoying to end users. I want the background music and sound effects on other objects to still play, just pause the narration on all pages.

Thanks for your help.

Answer

Answer
Answered
Hi Charmaine, for this situation you need a global counter on the first page of your app. Tapping the Read me On will make this Counter Value 1 ( by using a CounterSet behavior) and  tapping the Read me Off will make this Counter Value to 0 (by using a CounterSet behavior).
For every narration file that you have, on it's PlayAudio behavior you will need to set a condition: If the App counter <You global counter name> Value is 1.
Answered
Hi Charmaine, for this situation you need a global counter on the first page of your app. Tapping the Read me On will make this Counter Value 1 ( by using a CounterSet behavior) and when tapping the Read me Off will make this Counter Value to 0 (by using a CounterSet behavior).
For every narration file that you have on the it's PlayAudio behavior you will need to set a condition: If the App counter <You global counter name> Value is 1.
Answered
Hi Charmaine, for this situation you need a global counter on the first page of your app. Tapping the Read me On will make this Counter Value 1 ( by using a CounterSet behavior) and  tapping the Read me Off will make this Counter Value to 0 (by using a CounterSet behavior).
For every narration file that you have on the it's PlayAudio behavior you will need to set a condition: If the App counter <You global counter name> Value is 1.
Answer
Answered
Hi Charmaine, for this situation you need a global counter on the first page of your app. Tapping the Read me On will make this Counter Value 1 ( by using a CounterSet behavior) and  tapping the Read me Off will make this Counter Value to 0 (by using a CounterSet behavior).
For every narration file that you have, on it's PlayAudio behavior you will need to set a condition: If the App counter <You global counter name> Value is 1.