getValue

fun getValue(objectId: ObjectID, key: String): SwitchboardResult<Any?>

Gets the value for the given key from the object with the specified object ID.

Return

A result containing the value if successful, or an error if failed.

Parameters

objectId

The object ID of the object to get the value from.

key

The property key.