setPropertyReadHandler abstract method

void setPropertyReadHandler(
  1. String name,
  2. PropertyReadHandler handler
)

Assigns a handler function to a property with a given name.

If the property is being read, the handler function will be called to handle the interaction.

Implementation

void setPropertyReadHandler(String name, PropertyReadHandler handler);