switchCountry

优质
小牛编辑
134浏览
2023-12-01

Instead of mouse click, switchCountry() API can be used to change currently selected country. This
gives developer more flexibility.

Parameter: countryCode - Country/area codes that conforms to ISO 3166 standards



// switch selected country to "US"
controller.switchCountry("US");