getSwitchName(switchIndex)¶
@status current Introduced in 2.6
Parameter¶
switchIndex: integer identifying a switch as returned bygetSwitchIndex(positionName)or fields in the table returned bymodel.getLogicalSwitch(switch)identifying switches.
Return value¶
- value: string naming the switch position as it is shown on radio menus where a switch can be chosen.