setValue

fun setValue(objectId: ObjectID, key: String, value: Any): SwitchboardResult<Unit>

Sets the value for the given key on the object with the specified object ID.

Return

A result indicating success, or an error if failed.

Parameters

objectId

The object ID of the object to set the value on.

key

The property key.

value

The value to set.