Ask a Question

What if multiple UIAObjects showing for same option?

sathashiv5
Contributor

What if multiple UIAObjects showing for same option?

Hi,

For Autoplay settings, "use autoplay from all media and devices" have both UIAObject("On") and UIAObject("Off") in object browser.

Even if we "On"/ "Off" the switch, it was showing both.

How to detect the state of this toggle/ switch button exactly?

2 REPLIES 2
mattb
Staff

could you include a screenshot of the object browser? 

Hi, 

 

For Switch button I can able to get the state using "ToggleState". Thanks @mattb 

cancel
Showing results for 
Search instead for 
Did you mean: