0
Z odpowiedzią

How to Stop Narration on all pages?

Charmaine Anderson 7 lat temu Ostatnio zmodyfikowane przez Alin Alexandru Matei 7 lat temu 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.

Odpowiedź

Odpowiedź
Z odpowiedzią
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.
Z odpowiedzią
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.
Z odpowiedzią
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.
Odpowiedź
Z odpowiedzią
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.