getResourceName static method

ResourceName getResourceName(
  1. String name
)

Get the ResourceName for this MovementSensor with the given name

For more information, see Movement Sensor component.

Implementation

static ResourceName getResourceName(String name) {
  return MovementSensor.subtype.getResourceName(name);
}