callAction

fun callAction(objectId: ObjectID, actionName: String, params: Map<String, Any> = emptyMap()): SwitchboardResult<String>

Call an action on a Switchboard object

Return

Result containing the action result or error

Parameters

objectId

ID of the object to call action on

actionName

Name of the action to call

params

Parameters for the action (optional)