Page 1 of 1
mobileSoundOnChannel says "could not find channel"
Posted: Fri Feb 09, 2018 3:47 pm
by teacherguy
Can't seem to get the name of the audio file to return.
I have a sound playing on channel 1. When I invoke "answer mobileSoundOnChannel 1" I get "could not find channel."
I have also tried naming the channel....same result.
Re: mobileSoundOnChannel says "could not find channel"
Posted: Sat Feb 10, 2018 5:25 pm
by jacque
It's a function, so you need parentheses:
get mobileSoundOnChannel(1)
Re: mobileSoundOnChannel says "could not find channel"
Posted: Sun Feb 11, 2018 12:40 pm
by teacherguy
Thanks Jacque, I have tried that, with the same result.
Re: mobileSoundOnChannel says "could not find channel"
Posted: Sun Feb 11, 2018 9:39 pm
by jacque
A couple of things to check: does a different version of LC work? If so, you may have found a bug unless the version that does work is newer. Also, are you using the simulator or a real phone? It might work differently in the simulator.
If neither of these yields any info then I'd submit a bug report.
Re: mobileSoundOnChannel says "could not find channel"
Posted: Sun Feb 11, 2018 11:18 pm
by [-hh]
You could try
Code: Select all
get mobileSoundOnChannel("current")
Re: mobileSoundOnChannel says "could not find channel"
Posted: Sat Feb 17, 2018 1:54 pm
by teacherguy
Bug report filed.
Re: mobileSoundOnChannel says "could not find channel"
Posted: Tue Feb 20, 2018 1:19 pm
by teacherguy
Bug confirmed.