Replies: 1 comment
-
Change agent.onStateChange(this.handleAgentStateChange) to Then you can access local variables and the functions work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
using 2.17.0 but same with 2.14.1
using agent.onStateChange()
I can see the state change and agent.newState but can't see locally defined variables
this.isDialingAvailable returns undefined so does this.dialPad
setting this.isDialingAvailable = true;
Then reports StateChange failed
Please help
Beta Was this translation helpful? Give feedback.
All reactions